spring-boot
spring-boot copied to clipboard
Group Kafka properties that configure the back-off policy
We have 4 properties that are used to configure the back-off policy:
spring.kafka.retry.topic.delayspring.kafka.retry.topic.max-delayspring.kafka.retry.topic.multiplierspring.kafka.retry.topic.random-back-off
There are two other properties at the same level that are not related to the back-off policy:
spring.kafka.retry.topic.attemptsspring.kafka.retry.topic.enabled
We should group the four back-off related properties to make their purpose clear:
spring.kafka.retry.topic.backoff.delayspring.kafka.retry.topic.backoff.max-delayspring.kafka.retry.topic.backoff.multiplierspring.kafka.retry.topic.backoff.random
Hello, I would like to work on this issue if you believe it to be a good first contribution for someone to work on. I've taken an initial look at the code and I believe I can do it.
Thanks, @travisriegler, it's all yours.
Just in case you're not already aware, when introducing the new properties, the existing properties should be kept in a deprecated form. You can deprecate them by adding @DeprecatedConfigurationProperty to each deprecated property's getter method.
Closing in favor of #41335