Skip to content

Conversation

@omerlh
Copy link
Collaborator

@omerlh omerlh commented Dec 9, 2025

No description provided.

@omerlh omerlh requested a review from guysegal December 9, 2025 07:18
if (consumer != null) {
consumer.dispose();
if (consumerSubscription != null) {
consumerSubscription.dispose();
Copy link
Contributor

Choose a reason for hiding this comment

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

don't we need to also dispose of the consumer?

Copy link
Contributor

Choose a reason for hiding this comment

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

And can you explain why disposing the subscription would allow graceful shutdowns as opposed to disposing of the consumer?

@omerlh omerlh merged commit 51615c7 into main Dec 14, 2025
1 check passed
@omerlh omerlh deleted the feat/gracefull-shutdown branch December 14, 2025 08:07
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.

4 participants