redpanda-data / redpanda-data/connect

Stdin blobl mapping command

Open
#2,246 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ash pls enhancement ux
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.