Motivation
RocketMQ still exposes the legacy Broker DLedger mode through enableDLegerCommitLog=true, DLedgerCommitLog, and the related MessageStoreConfig accessors. For new deployments, Controller mode is the recommended automatic failover path.
This proposal is limited to Broker DLedger mode. It does not deprecate the DLedger-backed Controller implementation.
Proposed changes
- Mark
DLedgerCommitLog and the Broker-DLedger-specific MessageStoreConfig accessors as deprecated.
- Log a clear warning when a Broker starts with
enableDLegerCommitLog=true.
- Keep existing Broker DLedger behavior, dependencies, and tests intact for compatibility.
- Do not remove or disable the feature because existing deployments may still rely on it.
Compatibility
Existing clusters continue to start and operate unchanged. The only runtime difference is a deprecation warning for Brokers that explicitly enable the legacy mode.
Motivation
RocketMQ still exposes the legacy Broker DLedger mode through
enableDLegerCommitLog=true,DLedgerCommitLog, and the relatedMessageStoreConfigaccessors. For new deployments, Controller mode is the recommended automatic failover path.This proposal is limited to Broker DLedger mode. It does not deprecate the DLedger-backed Controller implementation.
Proposed changes
DLedgerCommitLogand the Broker-DLedger-specificMessageStoreConfigaccessors as deprecated.enableDLegerCommitLog=true.Compatibility
Existing clusters continue to start and operate unchanged. The only runtime difference is a deprecation warning for Brokers that explicitly enable the legacy mode.