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

Customizable flush retried and timeout #300

Open
sash opened this issue Jul 19, 2024 · 0 comments
Open

Customizable flush retried and timeout #300

sash opened this issue Jul 19, 2024 · 0 comments
Assignees
Labels
feature request New feature or request

Comments

@sash
Copy link
Contributor

sash commented Jul 19, 2024

Is your feature request related to a problem? Please describe.
In case your kafka server is down or not reponsive you want a way to control the maximum time a message sent can take.

Describe the solution you'd like
Add configuration keys for both the retry count and the flush timeout to the configuration at a minimum or even better a way to configur them by using parameters to the producer's send method.

Describe alternatives you've considered
Retries are currently hardcoded to 10 and timeout is hardcoded at 1s. I tried to subclass the producer and override the flush method, but because of the use of private and not protected properties and methods, that is not an option!

@sash sash added the feature request New feature or request label Jul 19, 2024
sash pushed a commit to ampeco/laravel-kafka that referenced this issue Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants