Skip to content

Expose public API for providing BackOffPolicies #2149

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

Closed
tomazfernandes opened this issue Mar 4, 2022 · 1 comment
Closed

Expose public API for providing BackOffPolicies #2149

tomazfernandes opened this issue Mar 4, 2022 · 1 comment

Comments

@tomazfernandes
Copy link
Contributor

As discussed here, we'd rather expose the BackOff generation logic we use for the RetryableTopics feature as an API than duplicate it in Spring Boot for auto configuration.

I should have a PR for this soon if that's ok.

Thanks.

tomazfernandes added a commit to tomazfernandes/spring-kafka that referenced this issue Mar 8, 2022
The method for providing a BackOffPolicy based on given values is private in the RetryableTopicAnnotationProcessor.

Move that logic to a separate class and expose it through the RetryTopicConfigurationBuilder.
@garyrussell garyrussell added this to the 3.0.0-M3 milestone Mar 8, 2022
@tomazfernandes
Copy link
Contributor Author

Closed in favor of Spring Retry #276.

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.

2 participants