Open dgyimesi opened 1 year ago
Reproduced with Kafkajs 2.2.4 at a request rate about 200 reqs/second.
The related KafkaJS error logs: {"level":"ERROR","timestamp":"2023-10-17T10:37:59.980Z","logger":"kafkajs","message":"[Producer] Failed to send messages: Closed connection","retryCount":0,"retryTime":815}
Using a separate producer instance for ack:-1 and ack: 0 looks to solve the problem.
Describe the bug Broker drops connection when sending messages with mixed
acks
flags (0 and default -1) at volume.To Reproduce
acks
being specified.acks
set to 0.Expected behavior Producer connection remains intact when sending messages with different
acks
flag.Environment: