Skip to content

Conversation

@cll-gg
Copy link
Contributor

@cll-gg cll-gg commented Jun 24, 2024

When the sarama loses its connection with the broker, it retries to establish it.
By default, the interval for retrying is set to 250ms (see here).

What we occasionally observe is that when a kafka cluster instance restarts, there's a thundering herd of benthos consumers retrying the connection. If we make the interval configurable, we can improve this situation.

I'm also open to making a PR to make the whole sarama retry config configurable, made a draft PR for that here, but maybe that's overkill.

@CLAassistant
Copy link

CLAassistant commented Jun 24, 2024

CLA assistant check
All committers have signed the CLA.

@cll-gg cll-gg marked this pull request as ready for review August 5, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants