Replies: 1 comment 1 reply
-
|
Hey @nullhack 👋 Unfortunately, it's a bit awkward because the underlying CLI library doesn't allow us to set
input:
generate:
count: 1
mapping: root = ""CLI command: > redpanda-connect run -s 'input.generate.mapping="root = \"blobfish are cool\""' -s 'input.processors=[]' -s 'input.processors.-={"log":{"message":"foobar"}}' -s 'input.processors.-={"log":{"message":"test"}}' test.yamlThis changes the PS: Converting this to discussion as per #2026. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, thank you for the awesome tool, I'm really impressed by how much power I have in such small amount of config. But one particular thing that I am struggling is the command line version of the config file.
I tried some combinations, but I could not get it to work. I have a config.yaml (that works) similar to this:
Due to not being able to perform writes in this particular server, I am trying to run the CLI equivalent of the config.
Something like:
My question is: How to set up the processors properly to get the parquet encode to work (or any other complex mapping involving yaml lists and dictionaries) ?
Is it possible to add examples somewhere in the documentation as well?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions