Fix kafka client hang after killing broker pod of parition leader (#16983)

Signed-off-by: yun.zhang <yun.zhang@zilliz.com>
This commit is contained in:
jaime 2022-05-14 23:05:54 +08:00 committed by GitHub
parent 23f7ef931c
commit 328ab7ecf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}