Stream Events Through Event Hubs with Consumer Groups and Checkpointing
Advanced · 45 minutes · 5 tasks, checked automatically · 100 points
In this advanced lab you will build a complete Event Hubs streaming pipeline entirely on a local Azure emulator. You will create an Event Hubs namespace and hub, define multiple consumer groups to model independent downstream readers, publish batches of events using the az CLI and curl, simulate checkpointing by persisting offsets into Azure Blob Storage, and finally verify end-to-end delivery by reading events from each consumer group. Every command targets the local floci emulator — no real Azure account is required.
What you’ll learn
- Create an Event Hubs namespace, hub, and multiple consumer groups on the local emulator
- Publish structured event batches to the hub using the az CLI and the emulator REST API
- Simulate consumer-group checkpointing by writing offset blobs to Azure Blob Storage and verify independent read positions per group
How this lab works
- Start the lab: One click starts an emulated cloud on your computer, with the cloud’s own CLI ready: no account and no bill.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work reads the emulated cloud’s resources and says, task by task, what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: An emulated cloud on your computer: no cloud account, no bill
- Cloud: AZURE
- Services: Event Hubs, Blob Storage
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop (or Podman / Rancher Desktop) installed and running
- A Azure sandbox created in the Local Cloud Playground
Topics: event-hubs, consumer-groups, checkpointing, streaming, blob-storage, messaging, azure
Create a free account to start this lab.
Keep going
- Dead-Letter Topics & Retry Policies: Proving Failed Pub/Sub Messages Land Safely
- Produce and Consume from a Managed Kafka Topic with Consumer Groups and Offset Handling
- Dead-Letter Queues and Retry Policies on Service Bus
- Stream Partitions, Message Ordering and Offset Handling Under Load
- SNS Fan-Out Architecture: Filter Policies Across Multiple SQS Queues
- Catch Failed Messages with an SQS Dead-Letter Queue and Redrive Policy