com.azure.messaging.eventhubs.models

Package containing classes used for creating and configuring events that are being sent-to and received-from Azure Event Hubs service.

Classes

Checkpoint

A model class to hold checkpoint data.

CloseContext

This class contains information about a partition for which this EventProcessorClient stopped processing.

CreateBatchOptions

The set of options that can be specified when creating an EventDataBatch.

ErrorContext

This class contains information about an error that occurred while processing events.

EventBatchContext

A class that contains a batch of EventData and the partition information the event batch belongs to.

EventContext

A class that contains EventData and the partition information the event belongs to.

EventHubConnectionStringProperties

A utility class that parses a connection string into sections.

EventPosition

Defines a position of an EventData in the Event Hub partition stream.

InitializationContext

The initialization context that is supplied to processPartitionInitialization(Consumer<InitializationContext> initializePartition) before the EventProcessorClient instance begins processing events from a partition.

LastEnqueuedEventProperties

A set of information about the enqueued state of a partition, as observed by the consumer.

PartitionContext

A model class to contain partition information of an Event Hub.

PartitionEvent

A container for EventData along with the partition information for this event data.

PartitionOwnership

A model class to hold partition ownership information.

ReceiveOptions

Set of options that can be specified when receiving events from an EventHubConsumerAsyncClient or EventHubConsumerClient.

SendBatchFailedContext

Contains information about a batch that was unable to be published, as well as the exception that occurred and the partition that the batch was being published to.

SendBatchSucceededContext

Contains information about a batch that was published and the partition that it was published to.

SendOptions

The set of options that can be specified when sending a set of events to influence the way in which events are sent to the Event Hubs service.

Enums

CloseReason

Enumeration of all possible reasons a PartitionProcessor may be closed.