Uses of Class
com.azure.messaging.eventhubs.EventData
Packages that use EventData
Package
Description
Package containing classes for creating
EventHubProducerAsyncClient,
EventHubProducerClient,
EventHubConsumerAsyncClient,
EventHubConsumerClient, or
EventProcessorClient to perform operations on Azure Event Hubs.Package containing classes used for creating and configuring events that are being sent-to and received-from Azure
Event Hubs service.
-
Uses of EventData in com.azure.messaging.eventhubs
Methods in com.azure.messaging.eventhubs that return EventDataModifier and TypeMethodDescriptionEventData.addContext(String key, Object value) Adds a new key value pair to the existing context on Event Data.EventData.setBodyAsBinaryData(com.azure.core.util.BinaryData binaryData) Sets a new binary body and correspondingAmqpAnnotatedMessageon the event.EventData.setContentType(String contentType) Sets the content type.EventData.setCorrelationId(String correlationId) Sets the correlation id.EventData.setMessageId(String messageId) Sets the message id.Methods in com.azure.messaging.eventhubs with parameters of type EventDataMethod parameters in com.azure.messaging.eventhubs with type arguments of type EventDataModifier and TypeMethodDescriptionSends a set of events to the associated Event Hub using a batched approach.EventHubProducerAsyncClient.send(Iterable<EventData> events, SendOptions options) Sends a set of events to the associated Event Hub using a batched approach.voidSends a set of events to the associated Event Hub using a batched approach.voidEventHubProducerClient.send(Iterable<EventData> events, SendOptions options) Sends a set of events to the associated Event Hub using a batched approach. -
Uses of EventData in com.azure.messaging.eventhubs.models
Methods in com.azure.messaging.eventhubs.models that return EventDataModifier and TypeMethodDescriptionPartitionEvent.getData()Gets the event received from the partition.EventContext.getEventData()Returns the event data received from Event Hub.Methods in com.azure.messaging.eventhubs.models that return types with arguments of type EventDataModifier and TypeMethodDescriptionEventBatchContext.getEvents()Returns a list of event data received from Event Hub.Constructors in com.azure.messaging.eventhubs.models with parameters of type EventDataModifierConstructorDescriptionEventContext(PartitionContext partitionContext, EventData eventData, CheckpointStore checkpointStore, LastEnqueuedEventProperties lastEnqueuedEventProperties) Creates an instance ofEventContext.PartitionEvent(PartitionContext partitionContext, EventData eventData, LastEnqueuedEventProperties lastEnqueuedEventProperties) Creates an instance of PartitionEvent.Constructor parameters in com.azure.messaging.eventhubs.models with type arguments of type EventDataModifierConstructorDescriptionEventBatchContext(PartitionContext partitionContext, List<EventData> events, CheckpointStore checkpointStore, LastEnqueuedEventProperties lastEnqueuedEventProperties) Creates an instance ofEventContext.