Closed ajlane closed 1 month ago
Thanks for the info. I think I know what it is - a NGS having deployed a version with a suffix in semver that makes our regex unhappy. Will confirm soon and issue a fix followed up by a patch release.
@ajlane This will happen only in one codepath:
retry_initial_failure
option when connectioncreate_consumer_on_stream
methodThis is caused by the fact that that call checks semver of the server which might not be available yet. Workaround until patch is realeased is to walk standard path:
let stream = jetstream.get_stream()
let consumer = stream.create_consumer()
Thanks. That workaround works for me.
Observed behavior
While creating a consumer with
create_consumer_on_stream
, I get a panic from the client library.The line in question seems to be:
Expected behavior
No panics, even if misconfigured.
Server and client version
async-nats 0.35.1, connnecting to connect.ngs.global
Host environment
Ubuntu, x86_64
Steps to reproduce
No response