K - the type of the key that will be produced. A compatible key serializer must be
provided to serialize the objectsV - the type of the value that will be produced. A compatible value serializer must be
provided to serialize the objectspublic class ProducerConfig<K,V> extends BaseProducerConfig<K,V>
builder() to create a builder instance.| Modifier and Type | Class and Description |
|---|---|
static class |
ProducerConfig.Builder<K,V,T extends ProducerConfig.Builder<K,V,T>>
The Builder implementation for the
ProducerConfig. |
DEFAULT_BATCH_SIZE, DEFAULT_LINGER_MS, DEFAULT_PROXY_CHAIN| Modifier | Constructor and Description |
|---|---|
protected |
ProducerConfig(ProducerConfig.Builder<K,V,?> builder) |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> ProducerConfig.Builder<K,V,?> |
builder()
Create a new Builder instance to create a
ProducerConfig. |
getBatchSize, getDeliveryStrategy, getKeySerializer, getLingerMs, getMessageBufferSize, getMessageBufferWaitTimeout, getOrderingStrategy, getProxyChain, getValueSerializer, isBlockingprotected ProducerConfig(ProducerConfig.Builder<K,V,?> builder)
public static <K,V> ProducerConfig.Builder<K,V,?> builder()
ProducerConfig.K - the type of the key that will be produced. A compatible key serializer must be
provided to serialize the objectsV - the type of the value that will be produced. A compatible value serializer must be
provided to serialize the objectsCopyright © 2020–2021 Axual B.V.. All rights reserved.