Skip to content

Add auto-creation of retry topics to Spring Kafka non-blocking retries auto-configuration #34046

Closed as not planned
@tomazfernandes

Description

@tomazfernandes

When auto-configuration for Spring for Apache Kafka's Non-Blocking Delayed Retries feature was implemented, automatic creation of topics was disabled by default.

We should allow users to override that configuration for speeding up development.

My proposal is to add the following properties:

spring.kafka.retry.topic.create.retry-topics=true
spring.kafka.retry.topic.create.partitions=2
spring.kafka.retry.topic.create.replication-factor=3

Or, if we want less options:

spring.kafka.retry.topic.auto-create-retry-topics=true

How does that look? I can open a PR once we reach an agreement, and we can change any properties names.

Here are the docs for the feature, and here for topics auto-creation. Please let me know if you have any questions.

@garyrussell and @artembilan, feel free to pitch in if you have the time.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: declinedA suggestion or change that we don't feel we should currently apply

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions