segmentio / kafka-go

Kafka library in Go
MIT License
7.3k stars 760 forks source link

authorization retries #1268

Open mikhail-sukhodolov opened 4 months ago

mikhail-sukhodolov commented 4 months ago

Hi kafka-go Team,

I'm using your library for a project and have encountered a situation where frequent authorization retries are causing high load on our Kafka brokers. I've looked into WriteBackoffMin and WriteBackoffMax for managing retry delays, but it's unclear if these apply to authorization attempts or just message sending retries.

Could you clarify if there's a way to configure retry behaviors specifically for authorization failures? If not, would you consider adding such a feature?

Thanks for your support and the great work on the library.