Package com.microsoft.azure.eventhubs
-
Interface Summary Interface Description AzureActiveDirectoryTokenProvider.AuthenticationCallback EventData The data structure encapsulating the Event being sent-to and received-from EventHubs.EventDataBatch Helper for creating a batch/collection of EventData objects to be used while Sending to EventHubsEventHubClient Anchor class - all EventHub client operations STARTS here.EventPosition Defines a position of anEventData
in the event hub partition.ITokenProvider PartitionReceiveHandler The handler to invoke after receivingEventData
s from Microsoft Azure EventHubs.PartitionReceiver This is a logical representation of receiving from a EventHub partition.PartitionSender This sender class is a logical representation of sending events to a specific EventHub partition. -
Class Summary Class Description AzureActiveDirectoryTokenProvider BatchOptions BatchOptions is used to createEventDataBatch
es.ConnectionStringBuilder ConnectionStringBuilder
can be used to construct a connection string which can establish communication with Event Hub instances.ErrorContext EventData.SystemProperties EventHubClientOptions Convenient container for options for creating anEventHubClient
All options default to not specified (null)EventHubRuntimeInformation Holds information about Event Hubs which can come handy while performing data-plane operations likeEventHubClient.createPartitionSender(String)
andEventHubClient.createReceiver(String, String, EventPosition)
JsonSecurityToken Extend SecurityToken with some specifics for a JSon Web TokenManagedIdentityTokenProvider PartitionRuntimeInformation ProxyConfiguration ReceiverOptions Represents various optional behaviors which can be turned on or off during the creation of aPartitionReceiver
.ReceiverRuntimeInformation Represents the temporal end of stream information of an EventHubs Partition.RetryPolicy SecurityToken A generic representation of a security token. -
Enum Summary Enum Description ProxyConfiguration.ProxyAuthenticationType Supported methods of proxy authentication.TransportType All TransportType switches available for communicating to EventHubs service. -
Exception Summary Exception Description AuthorizationFailedException Authorization failed exception is thrown when error is encountered during authorizing user's permission to run the intended operations.CommunicationException This exception is thrown when there is a client side connectivity issue.EventHubException This is the base exception that service bus will produce for all error cases.IllegalConnectionStringFormatException This exception is thrown when the connection string provided does not meet the requirement for connection.IllegalEntityException This exception is thrown for the following reasons: When the entity user attempted to connect does not exist The entity user wants to connect is disabledOperationCancelledException This exception is thrown when the underlying AMQP layer encounter an abnormal link abort or disconnect of connection in an unexpected fashion.PayloadSizeExceededException this exception is thrown when user attempts to send a event data or brokered message that has exceeded the allowed payload size as defined by the service.QuotaExceededException ReceiverDisconnectedException This exception is thrown when a EventHubReceiver is being disconnected because of one of the following reason: user attempts to connect a non-epoch receiver to a event hub partition, when there is an epoch receiver connected to the partition.ServerBusyException Server busy exception is thrown when the current entity's activity has put excessive load onto the service.TimeoutException This exception is thrown when the operation has exceeded the predetermined time limit.