Back to Azure Sdk For

Azure Event Hubs libraries for .NET

sdk/eventhub/README.md

2019-05-16T16-522.9 KB
Original Source

Azure Event Hubs libraries for .NET

Azure Event Hubs is a highly scalable publish-subscribe service that can ingest millions of events per second and stream them to multiple consumers. This lets you process and analyze the massive amounts of data produced by your connected devices and applications. Once Event Hubs has collected the data, you can retrieve, transform, and store it by using any real-time analytics provider or with batching/storage adapters. If you would like to know more about Azure Event Hubs, you may wish to review: What is Event Hubs.

Libraries for data access

The current generation of the Azure Event Hubs client library uses package names that follow the pattern Azure.Messaging.EventHubs.*. Microsoft recommends using the Azure.Messaging.EventHubs family of packages for for new applications. If you are unable to existing applications, then Microsoft recommends using version 4.1 or higher of the legacy Event Hubs packages, Microsoft.Azure.EventHubs.*

Azure.Messaging.EventHubs

These packages are the current generation of client libraries for Event Hubs and are part of the Azure SDK for .NET. The source code is available on GitHub.

Use the following packages to publish and consume events from Event Hubs:

Nuget PackageReferenceSamples
Azure.Messaging.EventHubsAPI Reference for Azure.Messaging.EventHubsSamples for Azure.Messaging.EventHubs
Azure.Messaging.EventHubs.ProcessorAPI Reference for Azure.Messaging.EventHubs.ProcessorSamples for Azure.Messaging.EventHubs.Processor

Libraries for resource management

Use the following library to work with the Azure Event Hubs resource provider:

Nuget PackageReference
Azure.ResourceManager.EventHubsAPI Reference for Azure.ResourceManager.EventHubs