Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
PartitionContext |
InitializationContext.getPartitionContext()
Returns the partition information for which the event processing is going to start.
|
PartitionContext |
EventContext.getPartitionContext()
Returns the partition information associated with the received event.
|
PartitionContext |
CloseContext.getPartitionContext()
Returns the partition information for which the processing stopped.
|
PartitionContext |
PartitionEvent.getPartitionContext()
Returns the partition information associated with the event data.
|
PartitionContext |
ErrorContext.getPartitionContext()
Returns the partition information where the error occurred.
|
Constructor and Description |
---|
CloseContext(PartitionContext partitionContext,
CloseReason closeReason)
Creates a new instance of CloseContext.
|
ErrorContext(PartitionContext partitionContext,
Throwable throwable)
Creates a new instance of ErrorContext.
|
EventContext(PartitionContext partitionContext,
EventData eventData,
CheckpointStore checkpointStore,
LastEnqueuedEventProperties lastEnqueuedEventProperties)
Creates an instance of
EventContext . |
InitializationContext(PartitionContext partitionContext,
EventPosition initialPosition)
Creates an instance of InitializationContext for the partition provided in the
PartitionContext . |
PartitionEvent(PartitionContext partitionContext,
EventData eventData,
LastEnqueuedEventProperties lastEnqueuedEventProperties)
Creates an instance of PartitionEvent.
|
Copyright © 2019 Microsoft Corporation. All rights reserved.