Dev & Engineering ✓ Microsoft · Official azure-event-hubsdotnetevent-streamingcheckpointingpartition-managementazure-identity

Azure Event Hubs for .NET

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

FollowSkills review · FSRS-2.0
Not recommended
47/ 100 5-point scale 2.4 / 5
Trust14 / 25 · 2.8/5

The skill documents Entra ID, connection-string alternatives, RBAC roles, and client reuse, but it does not clearly address least-privilege configuration beyond role names, secret protection, event-content logging risks, user confirmation, external-effect boundaries, or rollback. No red-line risk is visible, so the score is reduced.

Reliability5 / 20 · 1.3/5

It covers the main sending, buffered sending, processor receiving, partition, error-handling, and checkpointing paths, but static evidence cannot establish that they run. The batch example reassigns a variable declared with a using declaration, which may be a C# compilation problem; the DefaultAzureCredential construction is also questionable, and cancellation, retry, and concurrent checkpoint handling are thin. The score is therefore limited.

Adaptability10 / 15 · 3.3/5

Trigger terms, SDK scope, sending and receiving scenarios, and the production processor recommendation are reasonably clear. However, non-fit boundaries, input/output constraints, compatibility limits, and Chinese-language guidance are incomplete. The core function depends on Azure services, with no mainland-China reachability, region, or service-availability guidance, so points are deducted.

Convention9 / 15 · 3.0/5

The document provides a name, description, MIT license, version metadata, installation commands, environment variables, structured sections, examples, best practices, and related SDKs. It lacks a changelog, explicit maintenance ownership and update path, troubleshooting FAQs, dependency governance, and a known-limitations section, so full marks are not justified.

Effectiveness5 / 15 · 1.7/5

The material can serve as a practical reference for common Event Hubs .NET patterns and production receiving. Potential compilation or configuration issues, plus the absence of a verifiable complete project, tests, idempotency guidance, rebalancing details, dead-letter handling, and production operations coverage, mean users still need substantial review and correction.

Verifiability4 / 10 · 2.0/5

Repository context shows CI, evaluation workflows, and test harness code, providing some audit signals. However, the supplied material does not show path-specific tests, evaluation results, or third-party execution evidence for this skill. Key code correctness therefore cannot be independently reproduced from static reading, limiting the score to 5 or below.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • Compile-check the batching example before adoption, especially whether reassignment of a variable declared with a using declaration is legal, and verify the actual DefaultAzureCredential constructor and AZURE_TOKEN_CREDENTIALS behavior.
  • Do not commit or log connection strings; EventBody may contain sensitive data, so the sample console output should be reviewed against production data-classification and logging policies.
  • Add guidance for cancellation, guaranteed processor shutdown, transient-error backoff, concurrent checkpointing, duplicate delivery, and mainland-China region and network reachability.
See the full review method →

What it does & when to use it

This skill supports .NET developers building high-throughput streaming workflows with Azure.Messaging.EventHubs. It covers immediate batch producers, buffered background producers, and production consumption with EventProcessorClient and Blob Storage checkpoints. It also documents Entra ID authentication, connection-string alternatives, RBAC roles, event positions, partition keys, error handling, and ASP.NET Core integration. It is a strong fit for Azure Event Hubs applications, provided the project can supply the required Azure resources, credentials, packages, and permissions.

Provides installation commands for the Event Hubs, processor, Azure Identity, and Blob Storage NuGet packages; reads namespace, hub name, authentication, and checkpoint settings from environment variables; demonstrates EventHubProducerClient for size-aware batch sending; demonstrates EventHubBufferedProducerClient for automatic background batching and send callbacks; configures EventProcessorClient to consume by partition, handle processing errors, and update Blob Storage checkpoints; shows partition IDs, partition keys, EventPosition values, ASP.NET Core client registration, and EventHubsException handling.

  1. A .NET backend that must send events to Azure Event Hubs in controlled batches.
  2. A high-volume producer that benefits from automatic background batching and failure callbacks.
  3. A production consumer that needs partition-aware processing and Blob Storage checkpointing.
  4. A service that must preserve ordering for events sharing a customer or business key.
  5. An ASP.NET Core application that wants to register and reuse an Event Hubs producer through dependency injection.

Pros & cons

Pros
  • Covers the main implementation path from package installation and authentication through sending, receiving, partitioning, checkpointing, and error handling.
  • Clearly distinguishes immediate batch sending, buffered sending, simple consumption, and production processing.
  • Includes copyable C# and dotnet command examples.
  • Includes ASP.NET Core dependency injection and client-reuse guidance.
Limitations
  • The production receiving pattern depends on Blob Storage for checkpoint management.
  • Successful deployment requires correct Azure credentials, environment variables, and RBAC assignments.
  • The scope is Azure Event Hubs with the .NET SDK rather than other languages or general messaging platforms.
  • The supplied material does not show dedicated test results for this individual skill, and the repository is still under active development.

How to install

Install the collection with npx skills add microsoft/skills, then select the required skill in the wizard. The collection is installed into the selected agent directory, such as .github/skills/ for GitHub Copilot. The supplied material does not document a dedicated command for installing only azure-eventhub-dotnet; its source file is .github/plugins/azure-sdk-dotnet/skills/azure-eventhub-dotnet/SKILL.md. For the .NET application, install the documented packages with dotnet add package Azure.Messaging.EventHubs, dotnet add package Azure.Messaging.EventHubs.Processor, dotnet add package Azure.Identity, and dotnet add package Azure.Storage.Blobs as needed.

How to use

After placing the skill where the agent can discover it, trigger it with a request such as: “Implement .NET Azure Event Hubs batch sending and production EventProcessorClient checkpointing for my service.” Before running the examples, configure EVENTHUB_FULLY_QUALIFIED_NAMESPACE, EVENTHUB_NAME, and the checkpoint-related variables. Assign Azure Event Hubs Data Sender, Azure Event Hubs Data Receiver, or Azure Event Hubs Data Owner as appropriate. Use EventProcessorClient for production receiving, configure a Blob Storage checkpoint container, and register both event and error handlers.

Compared to similar skills

EventProcessorClient is explicitly presented as the production receiving option, while EventHubConsumerClient is described as suitable only for prototyping. For sending, EventHubProducerClient provides immediate batch control, whereas EventHubBufferedProducerClient handles automatic background batching. For authentication, the examples emphasize DefaultAzureCredential while also documenting connection strings as an alternative.

FAQ

Is this skill suitable for production work?
It provides production-oriented guidance, especially around EventProcessorClient, Blob Storage checkpoints, error handling, batching, and client reuse. Azure resources, permissions, deployment, and operational controls still need to be supplied by the project.
Does production consumption require Blob Storage?
The documented EventProcessorClient pattern uses Blob Storage for checkpoints, so that production pattern requires Blob Storage. EventHubConsumerClient can read events more simply, but the source explicitly says it is not for production.
Which permissions are required?
Sending requires Azure Event Hubs Data Sender, receiving requires Azure Event Hubs Data Receiver, and both operations can use Azure Event Hubs Data Owner.

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