Package | Description |
---|---|
com.azure.messaging.eventhubs |
Package containing classes for creating
EventHubProducerAsyncClient ,
EventHubProducerClient ,
EventHubConsumerAsyncClient ,
EventHubConsumerClient , or
EventProcessorClient to perform operations on Azure Event Hubs. |
Modifier and Type | Method and Description |
---|---|
EventHubClientBuilder |
EventHubClientBuilder.configuration(Configuration configuration)
Sets the configuration store that is used during construction of the service client.
|
EventHubClientBuilder |
EventHubClientBuilder.connectionString(String connectionString)
Sets the credential information given a connection string to the Event Hub instance.
|
EventHubClientBuilder |
EventHubClientBuilder.connectionString(String connectionString,
String eventHubName)
Sets the credential information given a connection string to the Event Hubs namespace and name to a specific
Event Hub instance.
|
EventHubClientBuilder |
EventHubClientBuilder.consumerGroup(String consumerGroup)
Sets the name of the consumer group this consumer is associated with.
|
EventHubClientBuilder |
EventHubClientBuilder.credential(String fullyQualifiedNamespace,
String eventHubName,
TokenCredential credential)
Sets the credential information for which Event Hub instance to connect to, and how to authorize against it.
|
EventHubClientBuilder |
EventHubClientBuilder.prefetchCount(int prefetchCount)
Sets the count used by the receiver to control the number of events the Event Hub consumer will actively receive
and queue locally without regard to whether a receive operation is currently active.
|
EventHubClientBuilder |
EventHubClientBuilder.proxyOptions(ProxyOptions proxyOptions)
Sets the proxy configuration to use for
EventHubAsyncClient . |
EventHubClientBuilder |
EventHubClientBuilder.retry(AmqpRetryOptions retryOptions)
Sets the retry policy for
EventHubAsyncClient . |
EventHubClientBuilder |
EventHubClientBuilder.shareConnection()
Toggles the builder to use the same connection for producers or consumers that are built from this instance.
|
EventHubClientBuilder |
EventHubClientBuilder.transportType(AmqpTransportType transport)
Sets the transport type by which all the communication with Azure Event Hubs occurs.
|
Copyright © 2019 Microsoft Corporation. All rights reserved.