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

Dynamic Reconnect and Multi-Channel Support #19

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

filipecosta90
Copy link
Collaborator

Changes

  • Dynamic Channel Subscription:

    • Subscribers can now subscribe to multiple channels based on the min-number-channels-per-subscriber and max-number-channels-per-subscriber flags.
    • Channel selection is randomized within the defined range, enabling more diverse and realistic subscription patterns.
  • Reconnect Interval Support:

    • Introduced min-reconnect-interval and max-reconnect-interval flags to control reconnect behavior.
    • Subscribers optionally unsubscribe and resubscribe at a random interval within the specified range. If the interval is set to 0, reconnect is disabled.

@filipecosta90 filipecosta90 merged commit 2a9d367 into master Dec 2, 2024
6 checks passed
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