Skip to content

Account for buffered events in dispatchers #312

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stefanc18
Copy link

I updated the demand & partition dispatchers to account for the buffered events by adding an additional buffer_size parameter to the ask function. Therefore, if there are events in the buffer, they will be asked for. This solves the issue that happens when the producer buffers some events (because there are no consumers available), and then the consumers come back live. Previously the buffered events weren't sent because they were considered "already sent". Refer to the issue for the details of how the behavior reproduced: #311

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

Successfully merging this pull request may close these issues.

1 participant