nats-io / nats.ws

WebSocket NATS
Apache License 2.0
329 stars 29 forks source link

resetConsumer repeatedly creates consumers #239

Closed edsalisb closed 6 months ago

edsalisb commented 6 months ago

Observed behavior

Using nats.ws library, I am able to see that after a creation of an ordered consumer, if it receives an error, it repetitively creates more consumers via a backoff mechanism image_bug2 image_bug1

Expected behavior

Using nats.ws library, I am able to see that after a creation of an ordered consumer, if it receives an error, it creates only 1 consumer at a time that can preferrably be managed

Server and client version

server version - 2.10.15-RC.7 client version - 1.19.1 and 1.25.0

Host environment

No response

Steps to reproduce

No response

edsalisb commented 6 months ago

I was misreading, turns out we were not creating the consumer :)