Unable to infer component type: processors, msg: Config lint error #3248
-
Recently upgraded from a v4.27.0 Benthos container to a Redpanda Connect v4.49.1 container. Some unchanged yaml configs with the same pattern have started failing with a linting error: It seems to be complaining about the processors at ln #'s 63 & 78 under the output broker. Not sure how I'm supposed to "specify an explicit output type" ?? Any help would be greatly appreciated!!! Thank you!! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @a-a-ron-manzano, I'd need to see a bit more of your config, but I think that's because you have something like this: output:
broker:
pattern: fan_out
outputs:
- processors:
...
- processors:
... What you really should have is this: output:
broker:
pattern: fan_out
outputs:
- first_output:
...
processors:
...
- second_output:
...
processors:
... I guess in your case both output:
broker:
pattern: fan_out
outputs:
- stdout: {}
processors:
...
- stdout: {}
processors:
... |
Beta Was this translation helpful? Give feedback.
-
Thanks @mihaitodor for that prompt, insightful, and ultimately correct advice. I very much appreciate you taking the time to help me past this issue. Aaron |
Beta Was this translation helpful? Give feedback.
Hey @a-a-ron-manzano, I'd need to see a bit more of your config, but I think that's because you have something like this:
What you really should have is this:
I guess in your case both
first_output
andsecond_output
werestdout
implicitly, but the linter got a bit more strict since then. If that's the case, then you can do this: