Non blocking retry spring kafka not picking the correct Producer kafkatemplate #2689
Replies: 1 comment 2 replies
-
Team I think this is a BUG i.e Spring Kafka Non Blocking retries does not support multiple KafkaTemplates. I tried even the following variation and it is not recognising the 2nd RetryTopicConfiguration. Kindly let me know your thoughts.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Team,
After getting more info from you - #2637
I tried out setting two kafka instances one named Sydney and other London
I see that when I send a message to Sydney, it goes to Sydney
Similarly when I send a message to London, it goes to London
BUT when I send a message to London and when the Spring non blocking retry kicks in the Sydney producer is used and not the London's
Kindly can you help me to figure out whats wrong in this code?
cluster.zip
This has 3 files
logs and input
See in the above when I send a poison pill -
hari London
it goes to London but when the non blocking retry kicks in, it sends to Sydney and not London.Beta Was this translation helpful? Give feedback.
All reactions