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

Make it easy to configure compression and linger #1442

Merged
merged 15 commits into from
Jan 19, 2025
Merged

Make it easy to configure compression and linger #1442

merged 15 commits into from
Jan 19, 2025

Conversation

erikvanoosten
Copy link
Collaborator

@erikvanoosten erikvanoosten commented Jan 19, 2025

Add methods withCompression and withLinger to ProducerSettings.

erikvanoosten and others added 13 commits January 17, 2025 17:32
Introduce a `authErrorRetrySchedule` on which publishing after auth errors (`AuthorizationException` and `AuthenticationException`) can be retried. Auth error occur on some slow brokers.

This change is not binary compatible due to changes in `ProducerSettings`.

TODO: unit test
Also improved names and documentation.
@erikvanoosten erikvanoosten force-pushed the linger branch 3 times, most recently from b04ed1a to cc605df Compare January 19, 2025 13:26
Base automatically changed from auth-error-retry-produce to master January 19, 2025 13:59
@erikvanoosten erikvanoosten merged commit 7318cc9 into master Jan 19, 2025
13 checks passed
@erikvanoosten erikvanoosten deleted the linger branch January 19, 2025 16:27
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