Uses of Class
com.azure.messaging.eventhubs.models.ReceiveOptions
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 ReceiveOptions in com.azure.messaging.eventhubs
Modifier and TypeMethodDescriptionEventHubConsumerAsyncClient.receive
(boolean startReadingAtEarliestEvent, ReceiveOptions receiveOptions) Consumes events from all partitions configured with a set ofreceiveOptions
.EventHubConsumerAsyncClient.receiveFromPartition
(String partitionId, EventPosition startingPosition, ReceiveOptions receiveOptions) Consumes events from a single partition starting atstartingPosition
with a set ofreceive options
.EventHubConsumerClient.receiveFromPartition
(String partitionId, int maximumMessageCount, EventPosition startingPosition, Duration maximumWaitTime, ReceiveOptions receiveOptions) Receives a batch ofevents
from the Event Hub partition. -
Uses of ReceiveOptions in com.azure.messaging.eventhubs.models
Modifier and TypeMethodDescriptionReceiveOptions.setOwnerLevel
(Long priority) Sets theownerLevel
value on this receive operation.ReceiveOptions.setTrackLastEnqueuedEventProperties
(boolean trackLastEnqueuedEventProperties) Sets whether or not the receive operation should request information on the last enqueued event on its associated partition, and track that information as events are received.