| 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 |
ErrorContext.getPartitionContext()
Returns the partition information where the error occurred.
|
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 |
EventBatchContext.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.
|
| 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.
|
EventBatchContext(PartitionContext partitionContext,
List<EventData> events,
CheckpointStore checkpointStore,
LastEnqueuedEventProperties lastEnqueuedEventProperties)
Creates an instance of
EventContext. |
EventContext(PartitionContext partitionContext,
EventData eventData,
CheckpointStore checkpointStore,
LastEnqueuedEventProperties lastEnqueuedEventProperties)
Creates an instance of
EventContext. |
InitializationContext(PartitionContext partitionContext)
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 © 2020 Microsoft Corporation. All rights reserved.