Uses of Class
com.azure.messaging.eventhubs.models.SendOptions
Package
Description
Package containing classes for creating
EventHubProducerAsyncClient
,
EventHubProducerClient
,
EventHubConsumerAsyncClient
,
EventHubConsumerClient
, or
EventProcessorClient
to perform operations on Azure Event Hubs.Package containing classes used for creating and configuring events that are being sent-to and received-from Azure
Event Hubs service.
-
Uses of SendOptions in com.azure.messaging.eventhubs
Modifier and TypeMethodDescriptionEventHubProducerAsyncClient.send
(Iterable<EventData> events, SendOptions options) Sends a set of events to the associated Event Hub using a batched approach.void
EventHubProducerClient.send
(Iterable<EventData> events, SendOptions options) Sends a set of events to the associated Event Hub using a batched approach. -
Uses of SendOptions in com.azure.messaging.eventhubs.models
Modifier and TypeMethodDescriptionSendOptions.setPartitionId
(String partitionId) Sets the identifier of the Event Hub partition that theevents
will be sent to.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.