Skip to content

Commit

Permalink
Fix kafka client hang after killing broker pod of parition leader (#1…
Browse files Browse the repository at this point in the history
…6983)

Signed-off-by: yun.zhang <yun.zhang@zilliz.com>
  • Loading branch information
jaime0815 authored May 14, 2022
1 parent 23f7ef9 commit 328ab7e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/mq/msgstream/mqwrapper/kafka/kafka_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ func (kc *kafkaClient) newProducerConfig() *kafka.ConfigMap {
// default max message size 5M
newConf.SetKey("message.max.bytes", 10485760)
newConf.SetKey("compression.codec", "zstd")
newConf.SetKey("go.events.channel.size", 0)
newConf.SetKey("go.produce.channel.size", 0)
newConf.SetKey("linger.ms", 20)
return newConf
}
Expand Down

0 comments on commit 328ab7e

Please sign in to comment.