-
Notifications
You must be signed in to change notification settings - Fork 542
feat: Add support for replicateSubscriptionState in Pulsar pubsub component #3853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add support for replicateSubscriptionState in Pulsar pubsub component #3853
Conversation
…ponent This commit adds support for the replicateSubscriptionState flag in the Pulsar pubsub component, which enables replication of subscription state across different Pulsar clusters in a geo-replicated setup. Changes: - Added ReplicateSubscriptionState field to pulsarMetadata struct - Updated Subscribe method to use ReplicateSubscriptionState in ConsumerOptions - Added comprehensive tests for the new functionality Fixes the missing support for subscription state replication in multi-cluster Pulsar deployments. Signed-off-by: Prashanth Nagaraj <[email protected]>
Signed-off-by: Prashanth Nagaraj <[email protected]>
c49d5af
to
2d75927
Compare
Hey @pnagaraj80 - mind opening a dapr/docs PR adding your new field |
@pnagaraj80 please resolve the conflicts and we can then merge |
Signed-off-by: Prashanth Nagaraj <[email protected]>
Done @yaron2. Thanks. |
Done @cicoyle. Thanks. |
…ponent (dapr#3853) Signed-off-by: Prashanth Nagaraj <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
…ponent (dapr#3853) Signed-off-by: Prashanth Nagaraj <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Co-authored-by: Dapr Bot <[email protected]>
Description
This PR adds support for the replicateSubscriptionState flag in the Pulsar pubsub component, which enables replication of subscription state across different Pulsar clusters in a geo-replicated setup.
Changes:
Fixes the missing support for subscription state replication in multi-cluster Pulsar deployments.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR addresses: #3854
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: