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

Added support for MESSAGE_ACK_AND_TERMINATE #41

Merged
merged 1 commit into from
Mar 22, 2021

Conversation

jakubvojacek
Copy link
Contributor

Limiting the consumer by the number of messages or number of seconds is not ideal in my use case

we want for the consumer to run for a fixed amount of time, eg 1 hour but we cannot afford to kill the consumer after given time of seconds due to the way we process the items - depending on the traffix we're queuing the messages inside the consumer and we're processing them in batches.

Having the option ACK_TERMINATE will allow us to kill the consumer whenever we want to

@paveljanda paveljanda merged commit c730924 into contributte:master Mar 22, 2021
@paveljanda
Copy link
Member

Okey, cool :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants