Thanks to visit codestin.com
Credit goes to officialskills.sh

Back to skills

azure-eventhub-ts

Azure Event Hubs SDK for TypeScript wraps the @azure/event-hubs package to send and receive events at scale.

Setup & Installation

npx skills add https://github.com/microsoft/skills --skill azure-eventhub-ts
or paste the link and ask your coding assistant to install it
https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-typescript/skills/azure-eventhub-ts
View on GitHub

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