Uses of Class
com.azure.messaging.eventhubs.models.SendOptions
Packages that use 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
Methods in com.azure.messaging.eventhubs with parameters of type SendOptionsModifier and TypeMethodDescriptionEventHubBufferedProducerAsyncClient.enqueueEvent(EventData eventData, SendOptions options) Enqueues anEventDatainto the buffer to be published to the Event Hub.EventHubBufferedProducerClient.enqueueEvent(EventData eventData, SendOptions options) Enqueues anEventDatainto the buffer to be published to the Event Hub.EventHubBufferedProducerAsyncClient.enqueueEvents(Iterable<EventData> events, SendOptions options) Enqueues a set ofEventDatainto the buffer to be published to the Event Hub.EventHubBufferedProducerClient.enqueueEvents(Iterable<EventData> events, SendOptions options) Enqueues a set ofEventDatainto the buffer to be published to the Event Hub.EventHubProducerAsyncClient.send(Iterable<EventData> events, SendOptions options) Sends a set of events to the associated Event Hub using a batched approach.voidEventHubProducerClient.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
Methods in com.azure.messaging.eventhubs.models that return SendOptionsModifier and TypeMethodDescriptionSendOptions.setPartitionId(String partitionId) Sets the identifier of the Event Hub partition that theeventswill 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.