Skip to content
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

Bug: nats_jetstream input has a logic error in the stream check #2576

Open
maxarndt opened this issue May 10, 2024 · 0 comments
Open

Bug: nats_jetstream input has a logic error in the stream check #2576

maxarndt opened this issue May 10, 2024 · 0 comments
Labels

Comments

@maxarndt
Copy link

maxarndt commented May 10, 2024

In nats_jetstream input processor, I cannot use the stream option without subject set.

Acording to the docs this should work:

### `stream`
A stream to consume from. Either a subject or stream must be specified.

Reproduction

input:
  nats_jetstream:
    urls: [nats://srv:port]
    stream: "somestream"

Error:

ERRO Service closing due to: failed to init input path root.input: subject is empty @service=benthos

Solution

I'm going to open a PR. Hope this helps.

Edit: here it is #2577

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants