Skip to content

Spring-kafka 2.7.4 - not able to connect to dev broker when using @RetryableTopic #1921

Answered by garyrussell
vivekkamineni asked this question in Q&A
Discussion options

You must be logged in to vote

You are setting the bootstrap-servers for consumers only; the retry topic uses the KafkaAdmin to create the retry topics and it has no bootstrap servers specified.

Use spring.kafka.bootstrap-servers which will then be applied to consumers, producers, and the admin.

The separate properties for each is, say, for when you want to consume from one cluster and produce to a different one.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@vivekkamineni
Comment options

Comment options

You must be logged in to vote
1 reply
@vivekkamineni
Comment options

Comment options

You must be logged in to vote
1 reply
@vivekkamineni
Comment options

Answer selected by vivekkamineni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants