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

Increate KafkaJS producer default retry #1673

Open
TiansuYu opened this issue Apr 5, 2024 · 0 comments
Open

Increate KafkaJS producer default retry #1673

TiansuYu opened this issue Apr 5, 2024 · 0 comments

Comments

@TiansuYu
Copy link

TiansuYu commented Apr 5, 2024

KafkaJs use a default retry = 5, which is extremely small for any internet intermittent issues. The default settings in Java client / Kafka doc in contrast, use MAX_INT as the default value (and they explained why that is the case / recommended value in production). It would make the configs consistent if KafkaJS could follow the same convention. Especially for teams managing interactions with all kinds of Kafka clients for Enterprise.

Ofc, in the end, this is a decision that has to be made by KafkaJS. But IMHO, it would be great that we could follow a consistent convention across different libs to ease communication and minimize surprises in production environments.

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

No branches or pull requests

1 participant