Skip to content

Consumer: Implement graceful closure #38

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

Open
DanielePalaia opened this issue Feb 12, 2025 · 0 comments
Open

Consumer: Implement graceful closure #38

DanielePalaia opened this issue Feb 12, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@DanielePalaia
Copy link
Contributor

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

@DanielePalaia DanielePalaia added the enhancement New feature or request label Feb 12, 2025
@DanielePalaia DanielePalaia self-assigned this Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant