K - the type of the key that will be consumed. A compatible key deserializer must be
provided to serialize the objectsV - the type of the value that will be consumed. A compatible value deserializer must be
provided to serialize the objectspublic class BaseConsumerConfig<K,V>
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
BaseConsumerConfig.Builder<K,V,T extends BaseConsumerConfig.Builder<K,V,T>>
The Builder is used to set the configuration options.
|
| Modifier and Type | Field and Description |
|---|---|
static ProxyChain |
DEFAULT_PROXY_CHAIN |
| Modifier and Type | Method and Description |
|---|---|
DeliveryStrategy |
getDeliveryStrategy()
Returns the delivery strategy the consumer should implement.
|
java.lang.Object |
getKeyDeserializer()
Returns the configured key deserializer.
|
java.lang.Integer |
getMaximumPollSize()
Returns the maximum amount of message retrieved in a single poll.
|
ProxyChain |
getProxyChain()
Returns the chain of producer proxies this producer uses.
|
java.lang.String |
getStream()
Returns the name of the stream this configuration should read from.
|
java.lang.Object |
getValueDeserializer()
Returns the configured value deserializer.
|
public static final ProxyChain DEFAULT_PROXY_CHAIN
public java.lang.String getStream()
public DeliveryStrategy getDeliveryStrategy()
DeliveryStrategy for
the available strategies.public java.lang.Object getKeyDeserializer()
Deserializerpublic java.lang.Object getValueDeserializer()
Deserializerpublic java.lang.Integer getMaximumPollSize()
public ProxyChain getProxyChain()
Copyright © 2020–2021 Axual B.V.. All rights reserved.