shibd opened a new pull request, #482:
URL: https://github.com/apache/pulsar-client-node/pull/482

   ## Motivation
   
   Fixes #478
   
   The `ConsumerConfig` interface was missing `replicateSubscriptionState`, 
which is needed for geo-replication failover scenarios where subscription 
cursor state should be synchronized across clusters.
   
   ## Changes
   
   - Added `CFG_REPLICATE_SUBSCRIPTION_STATE` constant in 
`src/ConsumerConfig.cc`
   - Added handling to pass the config value through to 
`ConsumerConfiguration::setReplicateSubscriptionStateEnabled()` on the 
underlying C++ object
   - Added `replicateSubscriptionState?: boolean` to the `ConsumerConfig` 
TypeScript interface in `index.d.ts`
   - Added a test case in `tests/consumer.test.js` to verify the option can be 
set when creating a consumer


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to