| Package | Description |
|---|---|
| com.azure.messaging.eventhubs |
Package containing classes for creating
EventHubProducerAsyncClient,
EventHubProducerClient,
EventHubConsumerAsyncClient,
EventHubConsumerClient, or
EventProcessorClient to perform operations on Azure Event Hubs. |
| 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 |
|---|---|
EventData |
EventData.addContext(String key,
Object value)
Adds a new key value pair to the existing context on Event Data.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
EventDataBatch.tryAdd(EventData eventData)
Tries to add an
event to the batch. |
| Modifier and Type | Method and Description |
|---|---|
EventData |
PartitionEvent.getData()
Gets the event received from the partition.
|
EventData |
EventContext.getEventData()
Returns the event data received from Event Hub.
|
| Constructor and Description |
|---|
EventContext(PartitionContext partitionContext,
EventData eventData,
CheckpointStore checkpointStore,
LastEnqueuedEventProperties lastEnqueuedEventProperties)
Creates an instance of
EventContext. |
PartitionEvent(PartitionContext partitionContext,
EventData eventData,
LastEnqueuedEventProperties lastEnqueuedEventProperties)
Creates an instance of PartitionEvent.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.