examples
examples copied to clipboard
Confluent Cloud SSL handshake failed
I just follow documentation but I cannot connect to my Kafka broker. FYI I'm using Golang script, and I got error this:
1/1 brokers are down
sasl_ssl://MYSERVER:9092/bootstrap: SSL handshake failed: s3_clnt.c:1269: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed: (after 84ms in state CONNECT)
+1 Do we need to setup certificates and use the "ssl.ca.location"?
I also had to make changes to fix the below error by adding a switch to e.(type)
panic: interface conversion: kafka.Event is kafka.Error, not *kafka.Message
Solved
On MacOS
brew install librdkafka
And then update the ConfigMap
"ssl.ca.location": "/usr/local/etc/[email protected]/cert.pem"