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
Can't create pull consumer from cli #1056
Comments
The problem isn’t the pull consumer per se but the fact that work queue streams only allow one consumer to consume any subject. So the error indicates you are trying to add a consumer that would clash with an existing one |
@ripienaar, what existing one? There are no consumers to clash with. |
Show “nats s info” please |
|
Hmm, maybe the mirror counts as a consumer, which is weird, because when created via SDK, it works fine.
|
Could be yeah. Making a mirror of a WQ is probably not really a good idea. Try without the mirror? |
Yep, that was it |
Adding the mirror after the consumers works fine via cli. |
What server version? |
It's in the initial issue report. |
Observed behavior
Unless I'm just missing something obvious, it appears as though you cannot use the cli to create a pull consumer, as it fails with:
Expected behavior
A pull consumer to be created.
Server and client version
server: v2.10.14
client: 0.1.4
Host environment
5 node cluster
Steps to reproduce
I first applied the stream:
When created via an SDK with the exact same json, a consumer is created successfully.
The text was updated successfully, but these errors were encountered: