Class ConsumerProperties
java.lang.Object
com.azure.spring.cloud.core.implementation.properties.AzureSdkProperties
com.azure.spring.cloud.core.implementation.properties.AzureAmqpSdkProperties
com.azure.spring.messaging.eventhubs.core.properties.CommonProperties
com.azure.spring.messaging.eventhubs.core.properties.ConsumerProperties
- All Implemented Interfaces:
com.azure.spring.cloud.core.properties.AzureProperties, com.azure.spring.cloud.core.provider.authentication.TokenCredentialOptionsProvider, com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider, com.azure.spring.cloud.core.provider.ClientOptionsProvider, com.azure.spring.cloud.core.provider.connectionstring.ConnectionStringProvider, com.azure.spring.cloud.core.provider.ProxyOptionsProvider, com.azure.spring.cloud.core.provider.RetryOptionsProvider, com.azure.spring.cloud.service.implementation.eventhubs.properties.EventHubClientCommonProperties, com.azure.spring.cloud.service.implementation.eventhubs.properties.EventHubConsumerProperties
- Direct Known Subclasses:
ProcessorProperties
public class ConsumerProperties
extends CommonProperties
implements com.azure.spring.cloud.service.implementation.eventhubs.properties.EventHubConsumerProperties
An event hub consumer related properties.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider
com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider.AzureEnvironmentOptions, com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider.CloudType, com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider.ProfileOptionsNested classes/interfaces inherited from interface com.azure.spring.cloud.core.provider.ClientOptionsProvider
com.azure.spring.cloud.core.provider.ClientOptionsProvider.AmqpClientOptions, com.azure.spring.cloud.core.provider.ClientOptionsProvider.ClientOptions, com.azure.spring.cloud.core.provider.ClientOptionsProvider.HttpClientOptionsNested classes/interfaces inherited from interface com.azure.spring.cloud.core.provider.ProxyOptionsProvider
com.azure.spring.cloud.core.provider.ProxyOptionsProvider.AmqpProxyOptions, com.azure.spring.cloud.core.provider.ProxyOptionsProvider.HttpProxyOptions, com.azure.spring.cloud.core.provider.ProxyOptionsProvider.ProxyOptionsNested classes/interfaces inherited from interface com.azure.spring.cloud.core.provider.RetryOptionsProvider
com.azure.spring.cloud.core.provider.RetryOptionsProvider.AmqpRetryOptions, com.azure.spring.cloud.core.provider.RetryOptionsProvider.RetryMode, com.azure.spring.cloud.core.provider.RetryOptionsProvider.RetryOptionsNested classes/interfaces inherited from interface com.azure.spring.cloud.core.provider.authentication.TokenCredentialOptionsProvider
com.azure.spring.cloud.core.provider.authentication.TokenCredentialOptionsProvider.TokenCredentialOptions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetConsumerGroup(String consumerGroup) Set the custom endpoint address.voidsetPrefetchCount(Integer prefetchCount) Set the prefetch count.Methods inherited from class CommonProperties
getConnectionString, getCustomEndpointAddress, getDomainName, getEventHubName, getFullyQualifiedNamespace, getNamespace, setConnectionString, setCustomEndpointAddress, setDomainName, setEventHubName, setNamespaceMethods inherited from class com.azure.spring.cloud.core.implementation.properties.AzureAmqpSdkProperties
getClient, getProxy, getRetryMethods inherited from class com.azure.spring.cloud.core.implementation.properties.AzureSdkProperties
getCredential, getProfileMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider
getProfileMethods inherited from interface com.azure.spring.cloud.core.provider.ClientOptionsProvider
getClientMethods inherited from interface com.azure.spring.cloud.core.provider.connectionstring.ConnectionStringProvider
getConnectionStringMethods inherited from interface com.azure.spring.cloud.service.implementation.eventhubs.properties.EventHubClientCommonProperties
getCustomEndpointAddress, getDomainName, getEventHubName, getFullyQualifiedNamespace, getNamespaceMethods inherited from interface com.azure.spring.cloud.core.provider.ProxyOptionsProvider
getProxyMethods inherited from interface com.azure.spring.cloud.core.provider.RetryOptionsProvider
getRetryMethods inherited from interface com.azure.spring.cloud.core.provider.authentication.TokenCredentialOptionsProvider
getCredential
-
Constructor Details
-
ConsumerProperties
public ConsumerProperties()Create an instance ofConsumerProperties
-
-
Method Details
-
getConsumerGroup
- Specified by:
getConsumerGroupin interfacecom.azure.spring.cloud.service.implementation.eventhubs.properties.EventHubConsumerProperties
-
setConsumerGroup
Set the custom endpoint address.- Parameters:
consumerGroup- the custom endpoint address.
-
getPrefetchCount
- Specified by:
getPrefetchCountin interfacecom.azure.spring.cloud.service.implementation.eventhubs.properties.EventHubConsumerProperties
-
setPrefetchCount
Set the prefetch count.- Parameters:
prefetchCount- the prefetch count.
-