You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add replicateSubscriptionState to ConsumerConfig #478
The ConsumerConfig interface does not expose replicateSubscriptionState, which is needed for geo-replication failover scenarios where subscription cursor state should be synchronized across clusters.
Context
The underlying C++ client supports replicateSubscriptionStateEnabled as a consumer configuration option, and it is exposed in other clients. The Node.js client wraps the C++ library, so the capability should be available at the binding layer, it just needs to be surfaced in the ConsumerConfig interface and passed through to the C++ ConsumerConfiguration.
When set to true, the broker synchronizes acknowledgment state for this subscription across geo-replicated clusters, enabling seamless consumer failover without reprocessing the backlog.
Activity
feat: add replicateSubscriptionState to ConsumerConfig
feat: add replicateSubscriptionState to ConsumerConfig (#482)