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

Backwards compatibility issues with NATS Client #687

Open
tpelabon opened this issue May 2, 2024 · 0 comments
Open

Backwards compatibility issues with NATS Client #687

tpelabon opened this issue May 2, 2024 · 0 comments
Labels

Comments

@tpelabon
Copy link

tpelabon commented May 2, 2024

We uses NATS.Client in our code but nBomber is using an older version which creates conflicts for us, and we cannot downgrade as we need feature used in 1.1.2.

Our workaround is for us to remove our usage of NATS immediately. But this is only a temporary solution because we will have it soon as a hard requirement. We are using NATS JetStream, which is not available in the outdated NATS client NBomber is referencing to. And Upgrade should be harmless. Our problem is that NATS client changed their connection interface and thus the library is breaking now. I would suggest

  1. Updating NATS client to > 1.1.0
  2. Pin the version within the minor so only >1.1.0 and < 1.2.0 is allowed. This gives clear compile errors rather than the runtime errors we see. NATS seems to break backwards compatibility within minor versions.
/ # nats-server --version
nats-server: v2.10.7 (edited) 

But the issue is not the NATS server version, its that the client broke backwards compatibility but its not detected proper (because NBomber does not define a < version requirement). I have to say, its shitty from NATS to break it, because I would assume backwards compatiblity between minor versions

@AntyaDev AntyaDev changed the title Backwards compatibility issues with NATS Backwards compatibility issues with NATS Client May 2, 2024
@AntyaDev AntyaDev added the 5.7 label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants