Setup & Installation
What This Skill Does
Azure Event Hubs SDK for TypeScript wraps the @azure/event-hubs package to send and receive events at scale. It handles partitioned consumers, batch ingestion, and checkpoint-based processing for event-driven architectures.
Manually managing partition state, checkpoint storage, and batched sends against the Event Hubs REST API is error-prone; the SDK handles retry logic, offset tracking, and batch packing out of the box.
When to use it
- Ingesting telemetry from thousands of IoT sensors into partitioned streams
- Resuming event consumption after a service restart using blob-backed checkpoints
- Routing events from specific devices to the same partition with partition keys
- Reading historical events from a specific offset or timestamp for replay
- Scaling multiple independent consumer groups over the same event stream