async-nats: Pull consumer issue: "pull request failed: request failed: missing field stream_name
at line 1 column 129"
#1198
Labels
defect
Suspected defect such as a bug or regression
Observed behavior
We are creating a Stream, then creating a Consumer and finally listening to messages. We are getting this error in our logs.
Expected behavior
From the error we are getting, it seems like the server is sometimes not getting the stream name from the request made by the consumer? It feels like it might be a library issue because we just pass the stream name in
get_or_create_stream
, then useget_or_create_consumer
from the stream and use themessages()
async iterator.This error seems to be intermittent, not always occurring. I included in the code sample below the
select!
block we are doing in case the future being cancelled has anything to do with this.Server and client version
Client version:
async-nats version = "0.33.0"
Server version:
[1] 2024/01/24 15:07:03.862164 [INF] Version: 2.10.9
Host environment
Linux, Kubernetes on AWS EKS, amd64 arch
Steps to reproduce
The code looks roughly like this:
The text was updated successfully, but these errors were encountered: