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

Unsubscribing from subject causes any other subscribers to be unsubscribed from the same subject #4

Open
anmiles opened this issue Jul 1, 2024 · 0 comments · May be fixed by #9
Open

Comments

@anmiles
Copy link

anmiles commented Jul 1, 2024

Description

When multiple subscribers are subscribed to the same subject, unsubscribing any of them will cause all others to be unsubscribed as well.

Steps to reproduce

  1. Create a broker
  2. Create two classes that share the same broker
  3. Subscribe both to the same subject
  4. Unsubscribe one

Expected Behavior

  • The second class still responds to the messages on that subject

Actual Behavior

  • Nothing responds to the messages on that subject

Environment

  • node.js version: 18.15
  • nats-micro-js version: 0.28.5
@anmiles anmiles linked a pull request Nov 11, 2024 that will close this issue
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 a pull request may close this issue.

1 participant