rpk connect blobl
Execute Bloblang mappings from the command line. Provides a convenient tool for mapping JSON documents.
Examples
This section provides examples of how to use rpk connect blobl.
Map JSON documents from stdin.
cat documents.jsonl | rpk connect blobl 'foo.bar.map_each(this.uppercase())'
Use a mapping file.
echo '{"foo":"bar"}' | rpk connect blobl -f ./mapping.blobl
Process input from a file.
rpk connect blobl -i input.jsonl -f ./mapping.blobl
Subcommands
| Command | Description |
|---|---|
Run a web server that provides an interactive application for writing and testing Bloblang mappings. |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |