Azure Event Hubs client library samples for Java

Azure Event Hubs samples are a set of self-contained Java programs that demonstrate interacting with Azure Event Hubs using the client library. Each sample focuses on a specific scenario and can be executed independently.

Key concepts

Key concepts are explained in detail here.

Getting started

Please refer to the Getting Started section.

Obtaining an Event Hub instance connection string

All the samples authorize with an Event Hub using a connection string generated for that Event Hub. The connection string value can be obtained by:

  1. Going to your Event Hubs namespace in Azure Portal.
  2. Creating an Event Hub instance.
  3. Creating a "Shared access policy" for your Event Hub instance.
  4. Copying the connection string from the policy's properties.

Examples

Troubleshooting

See Troubleshooting.

Next steps

See Next steps.

Contributing

If you would like to become an active contributor to this project please refer to our Contribution Guidelines for more information.

Impressions