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
[Java client] Allow consumer to be created in a paused state #11846
Is your enhancement request related to a problem? Please describe.
Our applications currently start up and immediately subscribe and consume pulsar messages. We would like to decouple deployment from activation, and then use pause/resume to safely turn different deploys on and off.
Describe the solution you'd like
Add an option to the consumer builder to subscribe in a paused state, e.g.:
@zwalsh-toast Are you interested in contributing the feature in Pulsar? Sounds good if we have an option to control the message flow when creating a consumer.
@zwalsh-toast Are you interested in contributing the feature in Pulsar? Sounds good if we have an option to control the message flow when creating a consumer.
Hi @codelipenghui - yes, I'll be working on it this week!
Activity
codelipenghui commentedon Sep 6, 2021
@zwalsh-toast Are you interested in contributing the feature in Pulsar? Sounds good if we have an option to control the message flow when creating a consumer.
zwalsh-toast commentedon Sep 7, 2021
Hi @codelipenghui - yes, I'll be working on it this week!
codelipenghui commentedon Sep 9, 2021
@zwalsh-toast Cool! Looks forward to your great contribution.