-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
ideal-for-user-contributionAn issue that would ideal for a user to get started with contributing.An issue that would ideal for a user to get started with contributing.status: waiting for reportertype: bug
Description
In what version(s) of Spring for Apache Kafka are you seeing this issue?
For example:
3.3.3
Describe the bug
As per the docs, a Configuration
class needs to be annotated with @EnableKafkaRetryTopic
or the RetryTopicConfigurationSupport
class should be extended in a @configuration class, and the appropriate methods overridden. Ref. However, the retry and dlt topics and the necessary consumers are created even without doing this if I add @RetryableTopic
to a @KafkaListener
.
To Reproduce
- Create a KafkaListener with RetryableTopic annotation.
- Do not add the
@EnableKafkaRetryTopic
to a configuration bean - Monitor logs to see dlt and retry topics and consumers being created and the partitions being assigned as well.
Expected behavior
The docs should be updated if @RetryableTopic internally enables kafka retry topic as this is misleading.
Sample
Not adding a sample assuming this behavior is known but docs have not been updated. If required, will add a sample.
Metadata
Metadata
Assignees
Labels
ideal-for-user-contributionAn issue that would ideal for a user to get started with contributing.An issue that would ideal for a user to get started with contributing.status: waiting for reportertype: bug