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

Catch exceptions thrown while stopping kafka consumers #1050

Merged
merged 1 commit into from
Jun 28, 2019

Conversation

dankraw
Copy link
Contributor

@dankraw dankraw commented Jun 27, 2019

While stopping consumer process there might be an exception thrown by underlying kafka consumer which is not catched and logged anywhere.
This exception as a consequence will cause dyingConsumerProcesses.remove(subscriptionName); not be called at all - so we have a process dying forever and we will not be able to start another one for particular subscription without a jvm restart.

@druminski druminski merged commit e1cdd3e into master Jun 28, 2019
@cristaloleg cristaloleg deleted the catching_consumer_stopping_exceptions branch July 29, 2019 10:37
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

Successfully merging this pull request may close these issues.

None yet

4 participants