| Modifier and Type | Method and Description |
|---|---|
EventHubClientOptions |
EventHubClientOptions.setOperationTimeout(Duration operationTimeout)
Set the operation timeout.
|
EventHubClientOptions |
EventHubClientOptions.setRetryPolicy(RetryPolicy retryPolicy)
Set the
RetryPolicy for operations |
EventHubClientOptions |
EventHubClientOptions.setTransportType(TransportType transportType)
Set the
TransportType for the connection to the Event Hubs service |
| Modifier and Type | Method and Description |
|---|---|
static CompletableFuture<EventHubClient> |
EventHubClient.createWithAzureActiveDirectory(URI endpointAddress,
String eventHubName,
AzureActiveDirectoryTokenProvider.AuthenticationCallback authCallback,
String authority,
ScheduledExecutorService executor,
EventHubClientOptions options)
Factory method to create an instance of
EventHubClient using the supplied namespace endpoint address, eventhub name and authentication mechanism. |
static CompletableFuture<EventHubClient> |
EventHubClient.createWithTokenProvider(URI endpointAddress,
String eventHubName,
ITokenProvider tokenProvider,
ScheduledExecutorService executor,
EventHubClientOptions options)
Factory method to create an instance of
EventHubClient using the supplied namespace endpoint address, eventhub name and authentication mechanism. |
Copyright © 2019 Microsoft Corporation. All rights reserved.