Replies: 1 comment
-
Just gave you an answer in your StackOverflow question: https://stackoverflow.com/questions/77819812/retryabletopic-for-multi-handler-kafka-listener. Please, don't duplicate same question in different places. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A listener with multi-handler like this works fine, where I can listen to different message formats at once:
where I just need to use this in
applicaiton.properties
Now, I need to use
@RetryableTopic
for retry/backoff/dlt handling, but it can't be used with the@kafkaHandler
and can't be added to the whole class, it has to be added to a method like:Question is
How can I mix the 2 approaches, to be able to listen to
Foo
&Bar
and also add a@RetryableTopic
to them?Beta Was this translation helpful? Give feedback.
All reactions