|
| 1 | +# Azure Event Hubs client library for Java - Samples |
| 2 | + |
| 3 | +Azure Event Hubs samples are a set of self-contained Java programs that demonstrate interacting with Azure Event Hubs |
| 4 | +using the client library. Each sample focuses on a specific scenario and can be executed independently. |
| 5 | + |
| 6 | +## Key concepts |
| 7 | +Key concepts are explained in detail [here][sdk_readme_key_concepts]. |
| 8 | + |
| 9 | +## Getting started |
| 10 | +Please refer to the [Getting Started][sdk_readme_getting_started] section. |
| 11 | + |
| 12 | +## Examples |
| 13 | + |
| 14 | +- [Inspect Event Hub and partition properties][sample_get_event_hubs_metadata] |
| 15 | +- [Publish events using Microsoft identity platform][sample_publish_identity] |
| 16 | +- [Publish events to a specific Event Hub partition with partition identifier][sample_publish_partitionId] |
| 17 | +- [Publish events to a specific Event Hub partition with partition key][sample_publish_partitionKey] |
| 18 | +- [Publish events to an Event Hub with a size-limited batch][sample_publish_size_limited] |
| 19 | +- [Publish events with custom metadata][sample_publish_custom_metadata] |
| 20 | +- [Consume events from an Event Hub partition][sample_consume_event] |
| 21 | +- [Consume events starting from an event sequence number][sample_consume_sequence_number] |
| 22 | +- [Consume events from all partitions using EventProcessorClient][sample_event_processor] |
| 23 | + |
| 24 | +## Troubleshooting |
| 25 | +See [Troubleshooting][sdk_readme_troubleshooting]. |
| 26 | + |
| 27 | +## Next steps |
| 28 | +See [Next steps][sdk_readme_next_steps]. |
| 29 | + |
| 30 | +## Contributing |
| 31 | + |
| 32 | +If you would like to become an active contributor to this project please refer to our [Contribution |
| 33 | +Guidelines](../../CONTRIBUTING.md) for more information. |
| 34 | + |
| 35 | +<!-- Links --> |
| 36 | +[sdk_readme_key_concepts]: ../../README.md#key-concepts |
| 37 | +[sdk_readme_getting_started]: ../../README.md#getting-started |
| 38 | +[sdk_readme_troubleshooting]: ../../README.md#troubleshooting |
| 39 | +[sdk_readme_next_steps]: ../../README.md#next-steps |
| 40 | +[sample_consume_event]: ./java/com/azure/messaging/eventhubs/ConsumeEvents.java |
| 41 | +[sample_consume_sequence_number]: ./java/com/azure/messaging/eventhubs/ConsumeEventsFromKnownSequenceNumberPosition.java |
| 42 | +[sample_event_processor]: ./java/com/azure/messaging/eventhubs/EventProcessorSample.java |
| 43 | +[sample_get_event_hubs_metadata]: ./java/com/azure/messaging/eventhubs/GetEventHubMetadata.java |
| 44 | +[sample_publish_custom_metadata]: ./java/com/azure/messaging/eventhubs/PublishEventsWithCustomMetadata.java |
| 45 | +[sample_publish_identity]: ./java/com/azure/messaging/eventhubs/PublishEventsWithAzureIdentity.java |
| 46 | +[sample_publish_partitionId]: ./java/com/azure/messaging/eventhubs/PublishEventsToSpecificPartition.java |
| 47 | +[sample_publish_partitionKey]: ./java/com/azure/messaging/eventhubs/PublishEventsWithPartitionKey.java |
| 48 | +[sample_publish_size_limited]: ./java/com/azure/messaging/eventhubs/PublishEventsWithSizeLimitedBatches.java |
| 49 | + |
| 50 | + |
0 commit comments