Bug: nats_jetstream input has a logic error in the stream check
maxarndt opened this issue · comments
Max Arndt commented
In nats_jetstream input processor, I cannot use the stream
option without subject
set.
Acording to the docs this should work:
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