New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SASLTypePlaintext not working, Error while performing SASL handshake #2777
Comments
@BTYHunter thanks for getting in touch. Looking over the config options that you've shared here, it looks like your Sarama client is configured to use TLS ( |
Thanks. I changed |
Hmm that's odd, the error log around the connection being forcibly closed mid handshake attempt certainly seemed like a mistake to do with using TLS to connect to a non-TLS endpoint. Is the error message you're getting on the client-side definitely identical? Are you also able to share server-side broker logs? |
Thanks very much. The above code |
OK, is there more for us to do here or will you continue looking into networking issues on your systems? |
Description
Below is my code.
go version: go version go1.20.2 windows/amd64
sarama version: v1.42.1
kafka version: 3.0.0
output is
panic: Failed to create Kafka producer: kafka: client has run out of available brokers to talk to: read tcp local_IP:63192->kafka_IP:9092: wsarecv: An existing connection was forcibly closed by the remote host.
Configuration
kafka config
Logs
logs: CLICK ME
Additional Context
Use C++
rdlibkafka
library,C++ client will link and send message successfully with SASL.Stop using SASL,go client will link and send message successfully (using the above code that delete SASL code config).
Is there the SASL sarama config is wrong or sarama version problem?
The text was updated successfully, but these errors were encountered: