Skip to main content

Interactive Content Splitting Explorer

See content splitting in action! Use the interactive explorer below to step through 5 stages of message splitting transformation. Watch as bundled sensor arrays are progressively split into individual messages with preserved context.

How to Use This Explorer

  1. Navigate using arrow keys (← →) or click the numbered stage buttons
  2. Compare the Input (left) and Output (right) JSON at each stage
  3. Observe how the array is split (red strikethrough) and context is preserved (green highlight)
  4. Inspect the YAML code showing exactly what processor was added
  5. Learn from the stage description explaining the technique and benefit

Interactive Content Splitting Explorer

Original Bundled Message

Single message containing multiple sensor readings bundled in an array. This format is efficient for transport but prevents individual routing and processing.

Use ← → arrow keys to navigate
📥Input
{
"device_id": "sensor-001",
"timestamp": "2025-10-20T10:00:00Z",
"location": "warehouse-a",
"readings": [
{"sensor": "temp-1", "value": 72.5, "unit": "F"},
{"sensor": "temp-2", "value": 85.3, "unit": "F"},
{"sensor": "temp-3", "value": 68.1, "unit": "F"}
]
}
📤Output
{
"device_id": "sensor-001",
"timestamp": "2025-10-20T10:00:00Z",
"location": "warehouse-a",
"readings": [
{"sensor": "temp-1", "value": 72.5, "unit": "F"},
{"sensor": "temp-2", "value": 85.3, "unit": "F"},
{"sensor": "temp-3", "value": 68.1, "unit": "F"}
]
}
Added/Changed
Removed
Completed Step
Current Step
Not Done Yet
📄New Pipeline Steppipeline.yaml
# Original input - bundled sensor array
input:
  http_server:
    address: 0.0.0.0:8080
    path: /sensors/bulk

# No processing yet - raw input
pipeline:
  processors: []

output:
  file:
    path: /var/log/raw-input.jsonl

Try It Yourself

Ready to build this content splitting pipeline? Follow the step-by-step tutorial:

Deep Dive into Each Step

Want to understand each transformation in depth?


Next: Set up your environment to build this content splitting pipeline yourself