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

Update default persistent subscription settings to match TCP client #127

Merged
merged 1 commit into from
Jul 15, 2021

Conversation

hayley-jean
Copy link
Member

@hayley-jean hayley-jean commented Jun 14, 2021

I noticed that the defaults don't match the TCP client's while updating persistent subscription docs.

Change the defaults for the following settings when creating a Persistent Subscription:

  • maxRetryCount: 10
  • readBatchSize: 20
  • historyBufferSize: 500

The Issue 1125 test fails with these new defaults. I've created an issue to investigate this here: #139

@hayley-jean hayley-jean self-assigned this Jun 14, 2021
thefringeninja
thefringeninja previously approved these changes Jun 16, 2021
YoEight
YoEight previously approved these changes Jun 16, 2021
@hayley-jean hayley-jean dismissed stale reviews from YoEight and thefringeninja via 6f3c9d3 June 17, 2021 13:02
@hayley-jean hayley-jean force-pushed the update-persistent-subs-defaults branch 4 times, most recently from 85df496 to 5da276d Compare June 17, 2021 15:16
YoEight
YoEight previously approved these changes Jun 24, 2021
@hayley-jean hayley-jean force-pushed the update-persistent-subs-defaults branch 11 times, most recently from 72ec850 to 1c27014 Compare July 12, 2021 16:15
YoEight
YoEight previously approved these changes Jul 12, 2021
Changes to Test Issue 1125:
- Don't increment received events if they were retries.
- Set the read batch size to 10 as having this set to 20 increases the
  chance of a duplicate event 250 being received.
@hayley-jean hayley-jean merged commit 8f0d363 into master Jul 15, 2021
@hayley-jean hayley-jean deleted the update-persistent-subs-defaults branch July 15, 2021 08:39
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.

3 participants