IBM / sarama

Sarama is a Go library for Apache Kafka.
MIT License
11.58k stars 1.76k forks source link

fix: log SASL connection and handshake errors #2995

Closed pierDipi closed 1 month ago

pierDipi commented 1 month ago

I'm trying to debug an issue and the logger is only logging: Error while performing SASL handshake kafka-1:9093 since the actual error is not logged, it's not clear what went wrong.

Verified that the error doesn't contain sensitive data

Fixes #2994

Addition reference: https://github.com/IBM/sarama/pull/2234#discussion_r1782313379

pierDipi commented 1 month ago

cc @puellanivis @dnwe