| Package | Description |
|---|---|
| com.microsoft.azure.eventhubs | |
| com.microsoft.azure.servicebus |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<PartitionReceiver> |
IEventHubClient.createEpochReceiver(String consumerGroupName,
String partitionId,
Instant dateTime,
long epoch) |
CompletableFuture<PartitionReceiver> |
EventHubClient.createEpochReceiver(String consumerGroupName,
String partitionId,
Instant dateTime,
long epoch)
Create a Epoch based EventHub receiver with given partition id and start receiving from the beginning of the partition stream.
|
CompletableFuture<PartitionReceiver> |
IEventHubClient.createEpochReceiver(String consumerGroupName,
String partitionId,
Instant dateTime,
long epoch,
ReceiverOptions receiverOptions) |
CompletableFuture<PartitionReceiver> |
EventHubClient.createEpochReceiver(String consumerGroupName,
String partitionId,
Instant dateTime,
long epoch,
ReceiverOptions receiverOptions)
Create a Epoch based EventHub receiver with given partition id and start receiving from the beginning of the partition stream.
|
CompletableFuture<PartitionReceiver> |
IEventHubClient.createEpochReceiver(String consumerGroupName,
String partitionId,
String startingOffset,
boolean offsetInclusive,
long epoch) |
CompletableFuture<PartitionReceiver> |
EventHubClient.createEpochReceiver(String consumerGroupName,
String partitionId,
String startingOffset,
boolean offsetInclusive,
long epoch)
Create a Epoch based EventHub receiver with given partition id and start receiving from the beginning of the partition stream.
|
CompletableFuture<PartitionReceiver> |
IEventHubClient.createEpochReceiver(String consumerGroupName,
String partitionId,
String startingOffset,
boolean offsetInclusive,
long epoch,
ReceiverOptions receiverOptions) |
CompletableFuture<PartitionReceiver> |
EventHubClient.createEpochReceiver(String consumerGroupName,
String partitionId,
String startingOffset,
boolean offsetInclusive,
long epoch,
ReceiverOptions receiverOptions)
Create a Epoch based EventHub receiver with given partition id and start receiving from the beginning of the partition stream.
|
CompletableFuture<PartitionReceiver> |
IEventHubClient.createEpochReceiver(String consumerGroupName,
String partitionId,
String startingOffset,
long epoch) |
CompletableFuture<PartitionReceiver> |
EventHubClient.createEpochReceiver(String consumerGroupName,
String partitionId,
String startingOffset,
long epoch)
Create a Epoch based EventHub receiver with given partition id and start receiving from the beginning of the partition stream.
|
CompletableFuture<PartitionReceiver> |
IEventHubClient.createEpochReceiver(String consumerGroupName,
String partitionId,
String startingOffset,
long epoch,
ReceiverOptions receiverOptions) |
CompletableFuture<PartitionReceiver> |
EventHubClient.createEpochReceiver(String consumerGroupName,
String partitionId,
String startingOffset,
long epoch,
ReceiverOptions receiverOptions)
Create a Epoch based EventHub receiver with given partition id and start receiving from the beginning of the partition stream.
|
PartitionReceiver |
IEventHubClient.createEpochReceiverSync(String consumerGroupName,
String partitionId,
Instant dateTime,
long epoch) |
PartitionReceiver |
EventHubClient.createEpochReceiverSync(String consumerGroupName,
String partitionId,
Instant dateTime,
long epoch)
Synchronous version of
EventHubClient.createEpochReceiver(String, String, Instant, long). |
PartitionReceiver |
IEventHubClient.createEpochReceiverSync(String consumerGroupName,
String partitionId,
Instant dateTime,
long epoch,
ReceiverOptions receiverOptions) |
PartitionReceiver |
EventHubClient.createEpochReceiverSync(String consumerGroupName,
String partitionId,
Instant dateTime,
long epoch,
ReceiverOptions receiverOptions)
Synchronous version of
EventHubClient.createEpochReceiver(String, String, Instant, long). |
PartitionReceiver |
IEventHubClient.createEpochReceiverSync(String consumerGroupName,
String partitionId,
String startingOffset,
boolean offsetInclusive,
long epoch) |
PartitionReceiver |
EventHubClient.createEpochReceiverSync(String consumerGroupName,
String partitionId,
String startingOffset,
boolean offsetInclusive,
long epoch)
Synchronous version of
EventHubClient.createEpochReceiver(String, String, String, boolean, long). |
PartitionReceiver |
IEventHubClient.createEpochReceiverSync(String consumerGroupName,
String partitionId,
String startingOffset,
boolean offsetInclusive,
long epoch,
ReceiverOptions receiverOptions) |
PartitionReceiver |
EventHubClient.createEpochReceiverSync(String consumerGroupName,
String partitionId,
String startingOffset,
boolean offsetInclusive,
long epoch,
ReceiverOptions receiverOptions)
Synchronous version of
EventHubClient.createEpochReceiver(String, String, String, boolean, long). |
PartitionReceiver |
IEventHubClient.createEpochReceiverSync(String consumerGroupName,
String partitionId,
String startingOffset,
long epoch) |
PartitionReceiver |
EventHubClient.createEpochReceiverSync(String consumerGroupName,
String partitionId,
String startingOffset,
long epoch)
Synchronous version of
EventHubClient.createEpochReceiver(String, String, String, long). |
PartitionReceiver |
IEventHubClient.createEpochReceiverSync(String consumerGroupName,
String partitionId,
String startingOffset,
long epoch,
ReceiverOptions receiverOptions) |
PartitionReceiver |
EventHubClient.createEpochReceiverSync(String consumerGroupName,
String partitionId,
String startingOffset,
long epoch,
ReceiverOptions receiverOptions)
Synchronous version of
EventHubClient.createEpochReceiver(String, String, String, long). |
static CompletableFuture<EventHubClient> |
EventHubClient.createFromConnectionString(String connectionString)
Factory method to create an instance of
EventHubClient using the supplied connectionString. |
static CompletableFuture<EventHubClient> |
EventHubClient.createFromConnectionString(String connectionString,
RetryPolicy retryPolicy)
Factory method to create an instance of
EventHubClient using the supplied connectionString. |
static EventHubClient |
EventHubClient.createFromConnectionStringSync(String connectionString)
Synchronous version of
EventHubClient.createFromConnectionString(String). |
static EventHubClient |
EventHubClient.createFromConnectionStringSync(String connectionString,
RetryPolicy retryPolicy)
Synchronous version of
EventHubClient.createFromConnectionString(String). |
CompletableFuture<PartitionSender> |
IEventHubClient.createPartitionSender(String partitionId) |
CompletableFuture<PartitionSender> |
EventHubClient.createPartitionSender(String partitionId)
Create a
PartitionSender which can publish EventData's directly to a specific EventHub partition (sender type iii. |
PartitionSender |
IEventHubClient.createPartitionSenderSync(String partitionId) |
PartitionSender |
EventHubClient.createPartitionSenderSync(String partitionId)
Synchronous version of
EventHubClient.createPartitionSender(String). |
CompletableFuture<PartitionReceiver> |
IEventHubClient.createReceiver(String consumerGroupName,
String partitionId,
Instant dateTime) |
CompletableFuture<PartitionReceiver> |
EventHubClient.createReceiver(String consumerGroupName,
String partitionId,
Instant dateTime)
Create the EventHub receiver with given partition id and start receiving from the specified starting offset.
|
CompletableFuture<PartitionReceiver> |
IEventHubClient.createReceiver(String consumerGroupName,
String partitionId,
Instant dateTime,
ReceiverOptions receiverOptions) |
CompletableFuture<PartitionReceiver> |
EventHubClient.createReceiver(String consumerGroupName,
String partitionId,
Instant dateTime,
ReceiverOptions receiverOptions)
Create the EventHub receiver with given partition id and start receiving from the specified starting offset.
|
CompletableFuture<PartitionReceiver> |
IEventHubClient.createReceiver(String consumerGroupName,
String partitionId,
String startingOffset) |
CompletableFuture<PartitionReceiver> |
EventHubClient.createReceiver(String consumerGroupName,
String partitionId,
String startingOffset)
The receiver is created for a specific EventHub partition from the specific consumer group.
|
CompletableFuture<PartitionReceiver> |
IEventHubClient.createReceiver(String consumerGroupName,
String partitionId,
String startingOffset,
boolean offsetInclusive) |
CompletableFuture<PartitionReceiver> |
EventHubClient.createReceiver(String consumerGroupName,
String partitionId,
String startingOffset,
boolean offsetInclusive)
Create the EventHub receiver with given partition id and start receiving from the specified starting offset.
|
CompletableFuture<PartitionReceiver> |
IEventHubClient.createReceiver(String consumerGroupName,
String partitionId,
String startingOffset,
boolean offsetInclusive,
ReceiverOptions receiverOptions) |
CompletableFuture<PartitionReceiver> |
EventHubClient.createReceiver(String consumerGroupName,
String partitionId,
String startingOffset,
boolean offsetInclusive,
ReceiverOptions receiverOptions)
Create the EventHub receiver with given partition id and start receiving from the specified starting offset.
|
CompletableFuture<PartitionReceiver> |
IEventHubClient.createReceiver(String consumerGroupName,
String partitionId,
String startingOffset,
ReceiverOptions receiverOptions) |
CompletableFuture<PartitionReceiver> |
EventHubClient.createReceiver(String consumerGroupName,
String partitionId,
String startingOffset,
ReceiverOptions receiverOptions)
The receiver is created for a specific EventHub partition from the specific consumer group.
|
PartitionReceiver |
IEventHubClient.createReceiverSync(String consumerGroupName,
String partitionId,
Instant dateTime) |
PartitionReceiver |
EventHubClient.createReceiverSync(String consumerGroupName,
String partitionId,
Instant dateTime)
Synchronous version of
EventHubClient.createReceiver(String, String, Instant). |
PartitionReceiver |
IEventHubClient.createReceiverSync(String consumerGroupName,
String partitionId,
Instant dateTime,
ReceiverOptions receiverOptions) |
PartitionReceiver |
EventHubClient.createReceiverSync(String consumerGroupName,
String partitionId,
Instant dateTime,
ReceiverOptions receiverOptions)
Synchronous version of
EventHubClient.createReceiver(String, String, Instant). |
PartitionReceiver |
IEventHubClient.createReceiverSync(String consumerGroupName,
String partitionId,
String startingOffset) |
PartitionReceiver |
EventHubClient.createReceiverSync(String consumerGroupName,
String partitionId,
String startingOffset)
Synchronous version of
EventHubClient.createReceiver(String, String, String). |
PartitionReceiver |
IEventHubClient.createReceiverSync(String consumerGroupName,
String partitionId,
String startingOffset,
boolean offsetInclusive) |
PartitionReceiver |
EventHubClient.createReceiverSync(String consumerGroupName,
String partitionId,
String startingOffset,
boolean offsetInclusive)
Synchronous version of
EventHubClient.createReceiver(String, String, String, boolean). |
PartitionReceiver |
IEventHubClient.createReceiverSync(String consumerGroupName,
String partitionId,
String startingOffset,
boolean offsetInclusive,
ReceiverOptions receiverOptions) |
PartitionReceiver |
EventHubClient.createReceiverSync(String consumerGroupName,
String partitionId,
String startingOffset,
boolean offsetInclusive,
ReceiverOptions receiverOptions)
Synchronous version of
EventHubClient.createReceiver(String, String, String, boolean). |
PartitionReceiver |
IEventHubClient.createReceiverSync(String consumerGroupName,
String partitionId,
String startingOffset,
ReceiverOptions receiverOptions) |
PartitionReceiver |
EventHubClient.createReceiverSync(String consumerGroupName,
String partitionId,
String startingOffset,
ReceiverOptions receiverOptions)
Synchronous version of
EventHubClient.createReceiver(String, String, String). |
Iterable<EventData> |
ReceivePump.IPartitionReceiver.receive(int maxBatchSize) |
Iterable<EventData> |
PartitionReceiver.receiveSync(int maxEventCount)
Synchronous version of
PartitionReceiver.receive(int). |
CompletableFuture<Void> |
PartitionSender.send(Iterable<EventData> eventDatas)
Send
EventData to a specific EventHub partition. |
void |
PartitionSender.sendSync(EventData data)
Synchronous version of
PartitionSender.send(EventData) Api. |
void |
IEventHubClient.sendSync(EventData data) |
void |
EventHubClient.sendSync(EventData data)
Synchronous version of
EventHubClient.send(EventData). |
void |
IEventHubClient.sendSync(EventData eventData,
String partitionKey) |
void |
EventHubClient.sendSync(EventData eventData,
String partitionKey)
Synchronous version of
EventHubClient.send(EventData, String). |
void |
PartitionSender.sendSync(Iterable<EventData> eventDatas)
Synchronous version of
PartitionSender.send(Iterable) . |
void |
IEventHubClient.sendSync(Iterable<EventData> eventDatas) |
void |
EventHubClient.sendSync(Iterable<EventData> eventDatas)
Synchronous version of
EventHubClient.send(Iterable). |
void |
IEventHubClient.sendSync(Iterable<EventData> eventDatas,
String partitionKey) |
void |
EventHubClient.sendSync(Iterable<EventData> eventDatas,
String partitionKey)
Synchronous version of
EventHubClient.send(Iterable, String). |
void |
PartitionReceiver.setPrefetchCount(int prefetchCount)
Set the number of events that can be pre-fetched and cached at the
PartitionReceiver. |
| Modifier and Type | Class and Description |
|---|---|
class |
AuthorizationFailedException
Authorization failed exception is thrown when error is encountered during authorizing user's permission to run the intended operations.
|
class |
CommunicationException
This exception is thrown when there is a client side connectivity issue.
|
class |
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
|
class |
OperationCancelledException
This exception is thrown when the underlying Amqp layer encounter an abnormal link abort or disconnect of connection in an unexpected fashion.
|
class |
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.
|
class |
QuotaExceededException |
class |
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.
|
class |
ServerBusyException
Server busy exception is thrown when the current entity's activity has put excessive load onto the service.
|
class |
TimeoutException
This exception is thrown when the operation has exceeded the predetermined time limit.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClientEntity.closeSync() |
void |
MessageReceiver.setPrefetchCount(int value) |
Copyright © 2017. All rights reserved.