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

fix: duplicate subscribe to shard #19

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

proost
Copy link
Contributor

@proost proost commented May 13, 2023

If use Enhance Fan-out mode and subscribing interval is too short and consumer didn't changed, then get ResourceInUseException: Another active subscription exists for this consumer error. so try not to resubscribe too fast.

Also, close EventStream when EventStream is closed to prevent resource leak.

@proost proost self-assigned this May 13, 2023
@proost proost requested a review from mingrammer June 5, 2023 06:55
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.

1 participant