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

Avoid interrupted exception in PulsarKafkaConsumer when shutting down #852

Merged
merged 1 commit into from
Oct 25, 2017

Conversation

merlimat
Copy link
Contributor

Motivation

Avoid having interrupted exception stack traces when the Kafka consumer wrapper is getting closed.

The exceptions can be triggered when the executors are shut down and they're waiting on the blocking queue operations. The exception itself represent the normal operating way and it should not be printed, unless some other unexpected condition.

@merlimat merlimat added the type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages label Oct 24, 2017
@merlimat merlimat added this to the 1.21.0-incubating milestone Oct 24, 2017
@merlimat merlimat self-assigned this Oct 24, 2017
Copy link
Contributor

@rdhabalia rdhabalia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants