Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making the producer backoff algorithm configurable #1285

Open
JSarvesh opened this issue Apr 30, 2024 · 0 comments
Open

Making the producer backoff algorithm configurable #1285

JSarvesh opened this issue Apr 30, 2024 · 0 comments

Comments

@JSarvesh
Copy link

Describe the solution you would like

Currenty in writer.go, during writebatch function call, we have loop on maxattempts and a backoff delay which is exponential based on attempt and a min and max value as 100ms and 1 sec. Can we have a configurable way where instead of exponential we can have a constant delay between retries before the write fails. attching below snippet of library code

image

A clear and concise description of what you want to happen.

Supporting documentation

Please provides links to relevant Kafka protocol docs and/or KIPs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant