Consumer: Implement graceful closure
@DanielePalaia is already working on this.
Since Feb 13, 2025.
Assessment
This issue has not been assessed yet.
Description
Is your feature request related to a problem? Please describe.
The consumer needs to implement a unsettled_message_count in order to allow a graceful shutdown.
Example from Java:
// pause the delivery of messages
consumer.pause();
// ensure the number of unsettled messages reaches 0
long unsettledMessageCount = consumer.unsettledMessageCount();
// close the consumer
consumer.close();
Describe the solution you'd like
Graceful closure to be implemented
Describe alternatives you've considered
No response
Additional context
No response
- Dominant language
- Python
- Stars
- 47
- Forks
- 13
- Avg merge
- 7h 44m
- Merged PRs (30d)
- 9
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rabbitmq/rabbitmq-amqp-python-client
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
rabbitmq/rabbitmq-amqp-python-client#107 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 64/100
rabbitmq/rabbitmq-amqp-python-client#136 · 2 comments ·
-
enhancement v2
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
enhancement v2
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 42/100
All issues in rabbitmq/rabbitmq-amqp-python-client
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100