Dev & Engineering ✓ Microsoft · Official azure-event-hubstypescriptevent-streamingpartitioned-consumerscheckpointingazure-identity

Azure Event Hubs TypeScript Skill

Build TypeScript event-streaming applications with batching, partition-aware consumers, checkpointing, and Azure identity authentication.

FollowSkills review · FSRS-2.0
Use with care
52/ 100 5-point scale 2.6 / 5
1 2 3 4 5 6
1Trust17 / 25 · 3.4/5

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.

2Reliability7 / 20 · 1.8/5

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.

3Adaptability10 / 15 · 3.3/5

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.

4Convention9 / 15 · 3.0/5

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.

5Effectiveness5 / 15 · 1.7/5

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.

6Verifiability4 / 10 · 2.0/5

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.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • 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.
See the full review method →

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.

  1. A TypeScript developer needs to batch IoT telemetry or other structured events into Azure Event Hubs.
  2. A team is building a real-time analytics or event-driven pipeline with partitioned consumers.
  3. An engineer needs Blob Storage checkpoints so production consumers can resume processing progress.
  4. A developer needs ordering for related events through partition keys or needs to replay from a defined event position.

What are this skill's strengths and limitations?

Pros
  • 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.
Limitations
  • 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 do you install this skill?

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.

How do you use this skill?

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.

FAQ

Which language and SDK does this skill target?
It targets TypeScript/JavaScript with `@azure/event-hubs`; it is not the Python, Java, or .NET counterpart.
Is checkpointing required in production?
The skill’s best-practice section recommends checkpointing in production and demonstrates `BlobCheckpointStore` backed by Azure Blob Storage.
What should happen when event processing fails?
The example advises not updating the checkpoint on processing failure so the events can be processed again.
What authentication setup is required?
The examples use Azure identity credentials. For production with DefaultAzureCredential, set `AZURE_TOKEN_CREDENTIALS=prod`, or use ManagedIdentityCredential directly.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs for Python

A practical guide to high-throughput event ingestion, consumption, and checkpointing in Python.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs for .NET

A practical .NET guide to high-throughput Azure Event Hubs production, consumption, partitioning, and checkpointing.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs for Rust

A practical guide to sending, batching, and consuming Azure Event Hubs data with the official Rust SDK.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

Dev & Engineering ✓ Microsoft · Official

Azure Service Bus for TypeScript

Build enterprise messaging workflows with Azure Service Bus.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for TypeScript

A practical guide for uploading, downloading, and managing Azure Blob Storage from TypeScript and JavaScript applications.

Dev & Engineering ✓ Microsoft · Official

Microsoft 365 Agents SDK for TypeScript

Build TypeScript enterprise agents with routing, Express hosting, streaming responses, and Copilot Studio integration.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Secrets for TypeScript

Securely store and retrieve application secrets in Azure Key Vault while managing key lifecycles from Node.js.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Rust

A focused guide for building secure Azure Queue Storage messaging workflows in Rust.

Dev & Engineering ✓ Microsoft · Official

Fabric Capacity Manager for .NET

Manage Microsoft Fabric capacities programmatically through Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Cloud Testing

Scale TypeScript Playwright tests on Azure-hosted browsers and publish results.

Dev & Engineering ✓ Microsoft · Official

Azure Data Lake Gen2 for Python

Guides Python developers through hierarchical file-system and large-file operations on Azure Data Lake Storage Gen2.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB TypeScript Skill

Gives TypeScript and JavaScript coding agents practical Cosmos DB data-access patterns.

Dev & Engineering ✓ Microsoft · Official

Azure Bot Service Python Manager

Create, manage, and configure Azure Bot Service resources and channels from Python.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Java

Configure secure Microsoft Entra ID authentication for Java applications using Azure SDKs.

Dev & Engineering ✓ Microsoft · Official

Azure AI Content Safety for TypeScript

Add text and image harm detection with customizable blocklists to TypeScript applications.

Dev & Engineering ✓ Microsoft · Official

Azure Document Intelligence for TypeScript

Extract document text, tables, and structured fields in TypeScript applications.

Related skills