redpanda-data / redpanda-data/connect
Stdin blobl mapping command
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 8.8k
- Forks
- 969
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 64
Description
Hi,
When using the cli version of the benthos blobl command and piping in a valid json document - no matter what changes are made to the mapping file the return error message, results in a failed assignment.
Upon testing only jsonl documents work.
The reason why I am looking to use this command, is to generate sample events, to be integrated into a unit testing framework.
Posted this question on discord and was directed here.
"unfortunately thats a limitation of benthos blobl, it cant gobble up json objects containing newlines because its input format agnostic so always goes by newlines"
Thank you
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CLI blobl mapping command and reproduce the reported behavior by piping a valid JSON document and a JSONL document into it. Trace how stdin is read and how mapping failures are reported; done means the requested input behavior is defined and covered for the sample-event use case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, stream-processing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100