com.microsoft.azure.eventhubs

Classes

AuthorizationFailedException

Authorization failed exception is thrown when error is encountered during authorizing user's permission to run the intended operations.

AzureActiveDirectoryTokenProvider
BatchOptions

BatchOptions is used to create EventDataBatches.

CommunicationException

This exception is thrown when there is a client side connectivity issue.

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 an EventHubClient All options default to not specified (null)

EventHubException

This is the base exception that service bus will produce for all error cases.

EventHubRuntimeInformation

Holds information about Event Hubs which can come handy while performing data-plane operations like createPartitionSender(String partitionId) and createReceiver(String consumerGroupName, String partitionId, EventPosition eventPosition)

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 disabled
JsonSecurityToken

Extend SecurityToken with some specifics for a JSon Web Token

ManagedIdentityTokenProvider
OperationCancelledException

This exception is thrown when the underlying AMQP layer encounter an abnormal link abort or disconnect of connection in an unexpected fashion.

PartitionRuntimeInformation
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.

ProxyConfiguration
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.
ReceiverOptions

Represents various optional behaviors which can be turned on or off during the creation of a PartitionReceiver.

ReceiverRuntimeInformation

Represents the temporal end of stream information of an EventHubs Partition.

RetryPolicy
SecurityToken

A generic representation of a security token.

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.

Interfaces

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 EventHubs

EventHubClient

Anchor class - all EventHub client operations STARTS here.

EventPosition

Defines a position of an EventData in the event hub partition.

ITokenProvider
PartitionReceiveHandler

The handler to invoke after receiving EventDatas 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.

Enums

ProxyConfiguration.ProxyAuthenticationType

Supported methods of proxy authentication.

TransportType

All TransportType switches available for communicating to EventHubs service.