Couldn't resolve server broker:29092 from bootstrap.servers as DNS resolution failed for broke
b
bumpy-needle-3184
07/18/2022, 1:32 PM
how are you trying to connect kafka ...if you are producing message from host you need to pass localhost:9092 as bootstrap server and if you are trying to connect from docker container then you need to pass broker:29092 bootstrap-server url
s
stocky-midnight-78204
07/18/2022, 1:35 PM
I just failed to start container
stocky-midnight-78204
07/18/2022, 1:35 PM
gms
stocky-midnight-78204
07/18/2022, 1:35 PM
it is from container,broker:29092 is running why still have this error. In log it is bootstrap.servers = [broker:29092]