mirror of https://github.com/tidwall/tile38.git
refactor: dont set client id
This commit is contained in:
parent
734d33365a
commit
d7c0c5b855
|
@ -67,7 +67,6 @@ func (conn *KafkaConn) Send(msg string) error {
|
||||||
uri := fmt.Sprintf("%s:%d", conn.ep.Kafka.Host, conn.ep.Kafka.Port)
|
uri := fmt.Sprintf("%s:%d", conn.ep.Kafka.Host, conn.ep.Kafka.Port)
|
||||||
if conn.conn == nil {
|
if conn.conn == nil {
|
||||||
cfg := sarama.NewConfig()
|
cfg := sarama.NewConfig()
|
||||||
cfg.ClientID = "Tile38" // otherwise defaults to sarama
|
|
||||||
|
|
||||||
if conn.ep.Kafka.TLS {
|
if conn.ep.Kafka.TLS {
|
||||||
log.Debugf("building kafka tls config")
|
log.Debugf("building kafka tls config")
|
||||||
|
|
Loading…
Reference in New Issue