What does this skill do, and when should you use it?
This skill supports TypeScript developers using the JavaScript Azure Event Hubs SDK. It covers batched event production, partition or partition-key routing, consumer subscriptions, event positions, batch controls, event properties, and error handling. It also shows production checkpointing with Blob Storage and authentication with DefaultAzureCredential or ManagedIdentityCredential. It is one focused TypeScript skill within Microsoft’s MIT-licensed, actively developed skills collection.
Provides installation commands, environment variables, and TypeScript examples; creates EventHubProducerClient and EventHubConsumerClient instances; sends batched events to partitions or partition keys; subscribes to events and errors; starts consumption from earliest, latest, offset, or timestamp positions; stores checkpoints with BlobCheckpointStore; reads Event Hub and partition properties; configures batch size and wait time; accesses event metadata; avoids checkpointing failed processing; and closes clients cleanly.
- A TypeScript developer needs to batch IoT telemetry or other structured events into Azure Event Hubs.
- A team is building a real-time analytics or event-driven pipeline with partitioned consumers.
- An engineer needs Blob Storage checkpoints so production consumers can resume processing progress.
- A developer needs ordering for related events through partition keys or needs to replay from a defined event position.
How do you install this skill?
- Do not treat “exactly-once processing” as an automatic SDK guarantee; idempotent downstream operations and explicit at-least-once semantics are still required.
- Add production guidance for RBAC least privilege, redaction of sensitive event logs, checkpoint-failure alerting, retry/dead-letter handling, and cost impact.
- Before use, verify the current APIs of @azure/event-hubs and checkpoint-store packages, and review variable names, empty-batch handling, and authentication configuration.
- The skill depends on Azure Event Hubs, Blob Storage, Azure Identity, and network access; mainland-China reachability and regional constraints are not documented.
- Shell / CLI
- Network access
- Local filesystem
Node.js@azure/event-hubs@azure/identity
Run npm install @azure/event-hubs @azure/identity in the project. For Blob checkpointing, also run npm install @azure/eventhubs-checkpointstore-blob @azure/storage-blob. To install the broader collection, run npx skills add microsoft/skills and select the required skills in the wizard; the README does not document the exact wizard selection for this skill path.
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/.github/plugins/azure-sdk-typescript/skills/azure-eventhub-ts" ~/.claude/skills/
rm -rf "$tmp"Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.
How do you use this skill?
Once installed, send your agent any of these to trigger it:
- Build a high-throughput TypeScript Event Hubs producer and partitioned consumer using @azure/event-hubs, DefaultAzureCredential, batched sends, and Blob checkpointing.
Place the skill in the selected agent’s skill directory; the README gives .github/skills/ as the GitHub Copilot example. A suitable trigger prompt is: “Build a high-throughput TypeScript Event Hubs producer and partitioned consumer using @azure/event-hubs, DefaultAzureCredential, batched sends, and Blob checkpointing.” Configure EVENTHUB_NAMESPACE and EVENTHUB_NAME, plus the storage account and container variables when checkpointing is used.
What are this skill's strengths and limitations?
- Covers practical production patterns: batching, partitioned consumption, checkpointing, event positions, error handling, and client shutdown.
- Includes both DefaultAzureCredential and ManagedIdentityCredential authentication examples.
- Uses the concrete `@azure/event-hubs` package and provides copyable TypeScript snippets.
- Includes partition metadata, batch tuning, and lag-monitoring guidance.
- Requires Azure Event Hubs and related Azure resources; the source gives no local or offline alternative.
- The source does not identify dedicated test scenarios or results for this individual skill.
- Users must configure Azure namespaces, event hubs, credentials, and Blob Storage for checkpointing.
How does this skill compare with similar options?
Side by side with related skills; every score comes from the same FSRS standard.
| Skill | FS score | Stars | Last updated | License |
|---|---|---|---|---|
| Azure Event Hubs TypeScript Skill this page ✓ Microsoft · Official | 52 · Use with care | ★ 2.7k | 3mo ago | MIT |
| Azure Event Hubs for Python ✓ Microsoft · Official | 49 · Use with care | ★ 2.7k | 3mo ago | MIT |
| Azure Event Hubs for .NET ✓ Microsoft · Official | 47 · Use with care | ★ 2.7k | 3mo ago | MIT |
| Azure Event Hubs Java Skill ✓ Microsoft · Official | 57 · Use with care | ★ 2.7k | 3mo ago | MIT |
| Azure Event Hubs for Rust ✓ Microsoft · Official | 49 · Use with care | ★ 2.7k | 3mo ago | MIT |
How did FollowSkills review this skill?
The documentation uses DefaultAzureCredential/Managed Identity and environment variables for namespace, hub, and checkpoint storage configuration; no malware, credential theft, or covert exfiltration is evident. However, examples print event bodies and properties without sensitive-data guidance, RBAC least-privilege advice, data-flow disclosure, confirmation, cost-impact notes, or rollback guidance, so points are deducted.
The skill provides examples for producers, consumers, batching, checkpointing, error handling, and shutdown, and the repository includes CI and test infrastructure. Static evidence also shows inconsistent variable names, some examples that do not guard empty batches, and overstrong exactly-once wording; there is no executable coverage specific to this skill. The score remains within the static-review cap.
The audience and primary scenarios are clear: TypeScript/JavaScript Azure Event Hubs applications for high-throughput ingestion, telemetry, partitioned consumption, and checkpointing. Non-fit boundaries, precise trigger exclusions, network or regional prerequisites, and Chinese-language support are not stated; Azure-service and documentation reachability constraints are also undisclosed, so points are deducted.
The main document has a readable progressive structure covering installation, environment variables, authentication, workflows, and references, with MIT licensing, author metadata, and version 1.0.0. It lacks a skill-specific changelog, explicit maintenance owner/update path, FAQ, dependency version constraints, and systematic troubleshooting; some linked reference targets are not present in the supplied material.
The material addresses common Event Hubs coding tasks and offers directly reusable starting snippets. Static review cannot verify compilation or runtime behavior, and potential empty-batch, naming-consistency, checkpoint-semantics, and exactly-once issues require user review and correction, limiting direct usability and marginal benefit.
Evidence consists of revision-scoped skill and reference files, repository license, CI workflows, and test-harness code. The supplied CI/tests do not demonstrate real execution coverage of this skill, and no third-party execution results or corroborating validation are provided; therefore the static evidence is limited.
Open a dimension to read why it scored that way
Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.
See the full review method →