public static class AzureEventHubsProperties.Consumer extends AzureEventHubsCommonProperties implements EventHubsConsumerDescriptor
com.azure.spring.core.aware.RetryAware.Backoff, com.azure.spring.core.aware.RetryAware.HttpRetry, com.azure.spring.core.aware.RetryAware.Retrycom.azure.spring.core.aware.ClientAware.AmqpClient, com.azure.spring.core.aware.ClientAware.Client, com.azure.spring.core.aware.ClientAware.HttpClient, com.azure.spring.core.aware.ClientAware.HttpLoggingcom.azure.spring.core.aware.ProxyAware.HttpProxy, com.azure.spring.core.aware.ProxyAware.Proxy| Modifier and Type | Field and Description |
|---|---|
protected String |
consumerGroup
Name of the consumer group this consumer is associated with.
|
protected Integer |
prefetchCount
The number of events the Event Hub consumer will actively receive and queue locally without regard to
whether a receiving operation is currently active.
|
connectionString, customEndpointAddress, domainName, eventHubName, namespaceclient, proxy, retrycredential, enabled, profile, resource| Constructor and Description |
|---|
Consumer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getConsumerGroup() |
Integer |
getPrefetchCount() |
void |
setConsumerGroup(String consumerGroup) |
void |
setPrefetchCount(Integer prefetchCount) |
extractEventHubNameFromConnectionString, extractFqdnFromConnectionString, getConnectionString, getCustomEndpointAddress, getDomainName, getEventHubName, getFQDN, getNamespace, setConnectionString, setCustomEndpointAddress, setDomainName, setEventHubName, setNamespacegetClient, getProxy, getRetrygetCredential, getProfile, getResource, isEnabled, setEnabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCustomEndpointAddress, getDomainName, getEventHubName, getFQDN, getNamespaceprotected String consumerGroup
protected Integer prefetchCount
public String getConsumerGroup()
getConsumerGroup in interface EventHubsConsumerDescriptorpublic void setConsumerGroup(String consumerGroup)
public Integer getPrefetchCount()
getPrefetchCount in interface EventHubsConsumerDescriptorpublic void setPrefetchCount(Integer prefetchCount)
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.