mirror of https://github.com/tidwall/tile38.git
Leave ClientID default untouched
This commit is contained in:
parent
e4b03ca174
commit
6dfcf896d4
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue