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

FallbackBatchErrorHandler - Consider Seeking and Exiting Retries When Container is Paused #2742

Closed
garyrussell opened this issue Jul 13, 2023 · 0 comments · Fixed by #2743
Closed

Comments

@garyrussell
Copy link
Contributor

Currently, the FBEH retries internally (pausing and polling the consumer) until retries are exhausted.

There is a use case where the user might want to pause deliveries during the retry attempts, by pausing the container.

It should be possible to detect that a container pause has been requested, seek the batch records and exit the retry loop under this condition.

See the discussion here: #2739 (comment)

@garyrussell garyrussell added this to the Backlog milestone Jul 13, 2023
antonio-tomac added a commit to antonio-tomac/spring-kafka that referenced this issue Jul 14, 2023
antonio-tomac added a commit to antonio-tomac/spring-kafka that referenced this issue Jul 14, 2023
antonio-tomac added a commit to antonio-tomac/spring-kafka that referenced this issue Jul 14, 2023
garyrussell pushed a commit that referenced this issue Jul 16, 2023
* GH-2742: Exit batch retries when container is paused

* GH-2742: fix code style spaces

* GH-2742: better method name for what it does
@garyrussell garyrussell modified the milestones: Backlog, 3.0.9 Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant