0

I am trying to consume a kafka topic using SASL but getting an Error which has no documentation :

ERROR:kafka.conn:Connect attempt to <BrokerConnection node_id=<nodeid> host=<bootstrapserver>:9094 <connecting> [IPv4 ('<IPAddress>', 9094)]> returned error 110. Disconnecting.

Any help would be appreciated!

Sam
  • 161
  • 1
  • 9
  • We need to see your `advertised.listeners` setting on your brokers and you can use kcat command to verify it works https://www.confluent.io/blog/kafka-listeners-explained/ – OneCricketeer Nov 25 '22 at 00:40
  • @OneCricketeer I dont have access to it, we only have the consumer. What exactly goes into advertised.listeneres? The ip:port of the consumer VM? – Sam Nov 25 '22 at 07:56
  • No. It's the address that your consumer must connect to. If your on prem firewall doesn't allow connections from GCP, it'll fail. If you don't advertise Kafka over the internet, it'll fail... We also need to see what SASL properties exist in your code and broker. – OneCricketeer Nov 26 '22 at 15:24

0 Answers0