-
Notifications
You must be signed in to change notification settings - Fork 32
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
Persistent subscription doesn't handle events fast enough #5
Comments
I cannot reproduce this. I used this test-case: https://github.com/prooph/event-store-client/blob/master/tests/happy_case_writing_and_subscribing_to_normal_events_auto_ack.php and enabled console logger as well as verbose logging. All events come in only once. See my output below.
|
I've been testing for a week with buffersize 1 so haven't seen the error anymore. I'll try this again on our staging server to see if the same problem happens there as well. |
Issue doesn't happen anymore on my side either... can't explain what solved it tho. |
Good to know :) |
I have the situation where I have a persistent subscription which receives events. I have 5 events created in my stream so they arrive immediately (buffer size of 5) when I connect. The first event enters my code and gets dumped. The other events never arrive and are retried later.
When I change the buffer size to 1 then all works well.
This is my code:
This is the console output (heartbeat events removed):
Subscription settings:
The text was updated successfully, but these errors were encountered: