mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 03:18:29 +08:00
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:
parent
23f7ef931c
commit
328ab7ecf6
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user