refactor: dont set client id

This commit is contained in:
Benjamin Ramser 2021-02-18 22:35:49 +01:00 committed by tidwall
parent b64c87004f
commit 8234f6dc6d
1 changed files with 0 additions and 1 deletions

View File

@ -66,7 +66,6 @@ func (conn *KafkaConn) Send(msg string) error {
uri := fmt.Sprintf("%s:%d", conn.ep.Kafka.Host, conn.ep.Kafka.Port)
if conn.conn == nil {
cfg := sarama.NewConfig()
cfg.ClientID = "Tile38" // otherwise defaults to sarama
if conn.ep.Kafka.TLS {
log.Debugf("building kafka tls config")