Uses of Class
com.azure.messaging.eventhubs.models.PartitionEvent
Package
Description
Package containing classes for creating
EventHubProducerAsyncClient
,
EventHubProducerClient
,
EventHubConsumerAsyncClient
,
EventHubConsumerClient
, or
EventProcessorClient
to perform operations on Azure Event Hubs.-
Uses of PartitionEvent in com.azure.messaging.eventhubs
Modifier and TypeMethodDescriptionEventHubConsumerAsyncClient.receive()
Consumes events from all partitions starting from the beginning of each partition.EventHubConsumerAsyncClient.receive
(boolean startReadingAtEarliestEvent) Consumes events from all partitions.EventHubConsumerAsyncClient.receive
(boolean startReadingAtEarliestEvent, ReceiveOptions receiveOptions) Consumes events from all partitions configured with a set ofreceiveOptions
.EventHubConsumerAsyncClient.receiveFromPartition
(String partitionId, EventPosition startingPosition) Consumes events from a single partition starting atstartingPosition
.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) Receives a batch ofevents
from the Event Hub partition.EventHubConsumerClient.receiveFromPartition
(String partitionId, int maximumMessageCount, EventPosition startingPosition, Duration maximumWaitTime) Receives a batch ofevents
from the Event Hub partition.EventHubConsumerClient.receiveFromPartition
(String partitionId, int maximumMessageCount, EventPosition startingPosition, Duration maximumWaitTime, ReceiveOptions receiveOptions) Receives a batch ofevents
from the Event Hub partition.