Error when running redpanda connect in multiple pods with NATS Jetstream as input. #2695
-
I am running a redpanda connect with NATS Jetstream as input and getting an error:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hey @BenBasilTomy 👋 Would you mind also sharing how to spin up a NATS server locally (maybe via Docker / Docker Compose or inside a Kind Kubernetes cluster) and how to set it up to reproduce this issue? |
Beta Was this translation helpful? Give feedback.
Hey @mihaitodor
I had asked a similar question in the NATS community and learned that it was more of a NATS issue than a Benthos one. The problem was caused by using both the queue and durable fields simultaneously. Removing the durable field while running Benthos with NATS as input in multiple pods solved the issue.
The NATS community mentioned that the error message indicated I was trying to subscribe to a consumer using a queue group ('queue': testqueue in my configuration), which is only needed when subscribing to a push consumer. However, the consumer I was trying to use ('durable': awsloadtest in my config) was configured as a pull consumer. They suggested checking the Benthos docum…