Closed
Description
In what version(s) of Spring for Apache Kafka are you seeing this issue?
2.8.2
Describe the bug
Incorrect retry topic suffix (retry-5000
) when attempts is equal to 2 in @RetryableTopic
and fixedDelayStrategy=SINGLE_TOPIC
To Reproduce
@KafkaListener(
id = "someId",
topics = [GREETING_TOPIC],
groupId = "groupId",
autoStartup = "true"
)
@RetryableTopic(
backoff = Backoff(delay = 5000),
attempts = "2",
autoCreateTopics = "false",
fixedDelayTopicStrategy = FixedDelayStrategy.SINGLE_TOPIC
)
Expected behavior
Retry topic suffix = -retry