IBM / sarama

Sarama is a Go library for Apache Kafka.
MIT License
11.21k stars 1.73k forks source link

Setting a too high value for Producer.Retry.Max can lead to excessive memory usage. #2930

Open 0xBB2B opened 2 weeks ago

0xBB2B commented 2 weeks ago
Description
Versions
Sarama Kafka Go
1.43.2 3.2.3 1.22
Configuration
config.Producer.Retry.Max = math.MaxInt32
Logs
logs: CLICK ME

![image](https://github.com/IBM/sarama/assets/29423499/3cc450ba-c488-4db9-a673-4497755dbcc0)

Additional Context