Skip to content
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

Processing Messaging for extended period of time, kick me out of consumer group? #129

Open
bkim54 opened this issue Jul 13, 2017 · 0 comments

Comments

@bkim54
Copy link

bkim54 commented Jul 13, 2017

Hi,

I am using the EventConsumer and am receiving messages via the EventConsumer.OnMessage handler. I was wondering if I process a given message for an extended period of time, will I block the ConsumerPoll from being called? And therefore be kicked out of the consumer group, forcing a rebalance?

According to librdkafka I need to call this method at regular intervals (Also according to the official java client, we need to call poll for consumers regularly to send heartbeats to the CG leader).

According to the code a new consumer is created via Task.Factory.StartNew and then the onMessage handler is invoked with the message. If my onMessage handler does not return for an extended period of time, will I block the poll from sending a heartbeat to the CG leader?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant