Uses of Class
com.azure.messaging.eventhubs.models.CreateBatchOptions
Packages that use 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
Methods in com.azure.messaging.eventhubs with parameters of type CreateBatchOptionsModifier and TypeMethodDescriptionEventHubProducerAsyncClient.createBatch(CreateBatchOptions options) Creates anEventDataBatchconfigured with the options specified.EventHubProducerClient.createBatch(CreateBatchOptions options) Creates anEventDataBatchconfigured with the options specified. -
Uses of CreateBatchOptions in com.azure.messaging.eventhubs.models
Methods in com.azure.messaging.eventhubs.models that return CreateBatchOptionsModifier 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 theEventDataBatchwill be sent to.CreateBatchOptions.setPartitionKey(String partitionKey) Sets a hashing key to be provided for the batch of events.