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
Not recommended
52/ 100 5-point scale 2.6 / 5
Trust17 / 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.

Reliability7 / 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.

Adaptability10 / 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.

Convention9 / 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.

Effectiveness5 / 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.

Verifiability4 / 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 it does & when to 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.

Pros & cons

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 to install

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 to use

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 Identity for Python

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

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 Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

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

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

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.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Related skills