Leave ClientID default untouched

This commit is contained in:
Benjamin Ramser 2021-07-08 12:26:58 +02:00 committed by tidwall
parent e4b03ca174
commit 6dfcf896d4
1 changed files with 0 additions and 1 deletions

View File

@ -80,7 +80,6 @@ func (conn *KafkaConn) Send(msg string) error {
if conn.ep.Kafka.SASL { if conn.ep.Kafka.SASL {
log.Debugf("building kafka sasl config") log.Debugf("building kafka sasl config")
cfg.ClientID = "sasl_scram_client"
cfg.Net.SASL.Enable = true cfg.Net.SASL.Enable = true
cfg.Net.SASL.User = os.Getenv("KAFKA_USERNAME") cfg.Net.SASL.User = os.Getenv("KAFKA_USERNAME")
cfg.Net.SASL.Password = os.Getenv("KAFKA_PASSWORD") cfg.Net.SASL.Password = os.Getenv("KAFKA_PASSWORD")