Azure Event Hubs Samples

Explore Azure Event Hubs with Real-World Examples

Discover practical code samples to help you integrate, manage, and leverage Azure Event Hubs for your streaming data needs.

Producer Sample

Basic Producer & Consumer

A fundamental example demonstrating how to send and receive events using Azure Event Hubs with C#.

Batch Processing Sample

Batch Processing with Event Hubs

Learn how to efficiently process large volumes of events by implementing batching strategies.

Schema Registry Sample

Event Hubs & Schema Registry Integration

Integrate Event Hubs with Azure Schema Registry for robust event schema management.

Monitoring Sample

Monitoring Event Hubs Metrics

A guide to monitoring key performance indicators of your Event Hubs using Azure Monitor.

Security Sample

Securing Event Hubs Access

Explore best practices and code examples for securing your Event Hubs endpoints with Shared Access Signatures (SAS).

Databricks Sample

Event Hubs with Azure Databricks

Stream data from Event Hubs directly into Azure Databricks for advanced analytics and machine learning.