| Package | Description |
|---|---|
| com.azure.messaging.eventhubs |
Package containing classes for creating
EventHubProducerAsyncClient,
EventHubProducerClient,
EventHubConsumerAsyncClient,
EventHubConsumerClient, or
EventProcessorClient to perform operations on Azure Event Hubs. |
| com.azure.messaging.eventhubs.models |
Package containing classes used for creating and configuring events that are being sent-to and received-from Azure
Event Hubs service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EventHubProducerClient.send(Iterable<EventData> events,
SendOptions options)
Sends a set of events to the associated Event Hub using a batched approach.
|
Mono<Void> |
EventHubProducerAsyncClient.send(Iterable<EventData> events,
SendOptions options)
Sends a set of events to the associated Event Hub using a batched approach.
|
| Modifier and Type | Method and Description |
|---|---|
SendOptions |
SendOptions.setPartitionId(String partitionId)
Sets the identifier of the Event Hub partition that the
events will be sent to. |
SendOptions |
SendOptions.setPartitionKey(String partitionKey)
Sets a hashing key to be provided for the batch of events, which instructs the Event Hubs service to map this key
to a specific partition.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.