| Modifier and Type | Method and Description |
|---|---|
static EventHubClient |
EventHubClient.createFromConnectionStringSync(String connectionString,
RetryPolicy retryPolicy,
ScheduledExecutorService executor)
Synchronous version of
createFromConnectionString(String, ScheduledExecutorService). |
static EventHubClient |
EventHubClient.createFromConnectionStringSync(String connectionString,
ScheduledExecutorService executor)
Synchronous version of
createFromConnectionString(String, ScheduledExecutorService). |
| Modifier and Type | Method and Description |
|---|---|
static CompletableFuture<EventHubClient> |
EventHubClient.createFromConnectionString(String connectionString,
RetryPolicy retryPolicy,
ScheduledExecutorService executor)
Factory method to create an instance of
EventHubClient using the supplied connectionString. |
static CompletableFuture<EventHubClient> |
EventHubClient.createFromConnectionString(String connectionString,
ScheduledExecutorService executor)
Factory method to create an instance of
EventHubClient using the supplied connectionString. |
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.