Examples
Learn how to build streaming pipelines with Laminar through hands-on examples. Each example shows the complete workflow using API, CLI, and UI.
Getting Started
| Example | Source | Sink | Description |
|---|---|---|---|
| Mock to Preview | Mock | Preview | No external dependencies - perfect for learning |
| Kafka to Kafka | Kafka | Kafka | Filter and transform events between topics |
| Kafka to Iceberg | Kafka | Iceberg | Stream data to a data lakehouse |
Example Structure
Each example follows the same structure:
- Prerequisites - What you need before starting
- Via API - Step-by-step curl commands
- Via CLI - YAML manifests with
lmnrcommands - Via UI - Console walkthrough
- Cleanup - How to remove resources
Recommended Path
New to Laminar? Start with Mock to Preview - it requires no external systems and demonstrates all core concepts.
Ready for production patterns? Move to Kafka to Kafka for real-world streaming, then Kafka to Iceberg for data lakehouse integration.
Prerequisites
All examples require connectivity to a Laminar backend. See Installation for setup options.
| Example | Requirements |
|---|---|
| Mock to Preview | Laminar backend |
| Kafka to Kafka | Laminar backend + Kafka cluster |
| Kafka to Iceberg | Laminar backend + Kafka cluster + Iceberg catalog |