Skip to content

Need help connecting to existing Kafka #1136

Answered by lbroudoux
AlexDavydkin asked this question in Q&A
Discussion options

You must be logged in to vote

So...

The name of the topic UsersignedupAPIv2-0.1.2-TestTopicBroh is expected as it is managed by Microcks for its mocks to avoid collisions with other stuff. The fact that you cannot see it clearly means that Microcks is not able to connect to the Kafka broker.

Now the problem with this setup is certainly due to how the Kafka listener is advertised by the Kafka bootstrap server. From within the Microcks containers, you're using host.docker.internal:9092 that is correct and correspond to the bootstrap server. However, the defautl configuration of bootstrap is to advertise the connection to a Kafka node server that has the same host that the one it is running on - probably localhost:9092. …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by AlexDavydkin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment