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

Producer error #205

Closed
yanivbh1 opened this issue Jun 19, 2022 · 1 comment
Closed

Producer error #205

yanivbh1 opened this issue Jun 19, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@yanivbh1
Copy link
Contributor

yanivbh1 commented Jun 19, 2022

Screen Shot 2022-06-19 at 20 43 24

Sending 100000 messages to a 2-node memphis cluster receives a timeout after a certain point.
We need to check how to make an automatic throttling and notify the user for it

@yanivbh1 yanivbh1 added the bug Something isn't working label Jun 19, 2022
@idanasulin2706
Copy link
Contributor

This issue happens because you are sending too many messages without waiting them to be published.
by awaiting a message to be produce you are sending the server an indication that you are still connected.
In case you don't want to wait to each message to be acked by the server, you can send bulk of messages and await them all together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants