mirror of https://github.com/tidwall/tile38.git
refactor: dont set client id
This commit is contained in:
parent
b64c87004f
commit
8234f6dc6d
|
@ -66,7 +66,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