-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Deprecate RetryTemplate in Listener Adapters #1886
Comments
Resolves #1886 * Missed a deprecation warning. * Use FQCN.
@garyrussell is it possible to add a retry mechanism for each listener? i'm registering listeners dynamically with MethodKafkaListenerEndpoint ? |
Don’t ask questions on old, closed, issues. Use the Discussions tab Q&A or ask on stack overflow. Show code, configuration, and exactly what you mean. Retry in the listener adapter has been completely replaced by functionality in the error handlers for several years, now. |
If you mean you want different retry settings for listeners created by the same container factory, you can add a |
@garyrussell If the receiver adapter is changed to not retry, how do I retry? There must be an alternative, but there seems to be no guide on how to handle it. |
The Javadoc of the deprecated
Then according to the docs: https://docs.spring.io/spring-kafka/docs/2.8.11/reference/html/#migrating-legacy-eh and https://docs.spring.io/spring-kafka/docs/2.8.11/reference/html/#default-eh |
Functionality has been replaced by enhancements to the error handlers and causes confusion.
The text was updated successfully, but these errors were encountered: