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

Consumers still pulling new messages even after the Kill Signal #889

Open
itsbhrat opened this issue Dec 19, 2024 · 1 comment
Open

Consumers still pulling new messages even after the Kill Signal #889

itsbhrat opened this issue Dec 19, 2024 · 1 comment
Labels
Pending Repro A repro is pending in order to replicate the issue rabbitmq

Comments

@itsbhrat
Copy link

The consumers are still pulling new messages from the queue after Kill signal.
On further inspection, what I found was Rabbit Subscribe is using channel.consume() of Amqp rather than Amqp connection manager and hence _consumers is set as empty array.
So when graceful shutdown approach is calling channel.cancelAll(), since _consumers = [], so consumers are not getting cancelled.

@underfisk
Copy link
Contributor

@itsbhrat Are you able to provide a reproduction?

@underfisk underfisk added rabbitmq Pending Repro A repro is pending in order to replicate the issue labels Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pending Repro A repro is pending in order to replicate the issue rabbitmq
Projects
None yet
Development

No branches or pull requests

2 participants