Uses of Class
com.azure.messaging.eventhubs.models.CreateBatchOptions
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 CreateBatchOptions in com.azure.messaging.eventhubs
Modifier and TypeMethodDescriptionEventHubProducerAsyncClient.createBatch
(CreateBatchOptions options) Creates anEventDataBatch
configured with the options specified.EventHubProducerClient.createBatch
(CreateBatchOptions options) Creates anEventDataBatch
configured with the options specified. -
Uses of CreateBatchOptions in com.azure.messaging.eventhubs.models
Modifier and TypeMethodDescriptionCreateBatchOptions.setMaximumSizeInBytes
(int maximumSizeInBytes) Sets the maximum size for thebatch of events
, in bytes.CreateBatchOptions.setPartitionId
(String partitionId) Sets the identifier of the Event Hub partition that the events in theEventDataBatch
will be sent to.CreateBatchOptions.setPartitionKey
(String partitionKey) Sets a hashing key to be provided for the batch of events.