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 objectsT - the type of the Builder that is to be used.public static class ProducerConfig.Builder<K,V,T extends ProducerConfig.Builder<K,V,T>> extends BaseProducerConfig.Builder<K,V,T>
ProducerConfig.batchSize, blocking, deliveryStrategy, keySerializer, lingerMs, messageBufferSize, messageBufferWaitTimeout, orderingStrategy, proxyChain, valueSerializer| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ProducerConfig<K,V> |
build()
Builds the
BaseProducerConfig object which is used by the AxualClient to
configure a producer |
setBatchSize, setBlocking, setDeliveryStrategy, setKeySerializer, setKeySerializer, setLingerMs, setMessageBufferSize, setMessageBufferWaitTimeout, setOrderingStrategy, setProxyChain, setValueSerializer, setValueSerializer, validatepublic ProducerConfig<K,V> build()
BaseProducerConfig.BuilderBaseProducerConfig object which is used by the AxualClient to
configure a producerbuild in class BaseProducerConfig.Builder<K,V,T extends ProducerConfig.Builder<K,V,T>>BaseProducerConfig objectCopyright © 2020–2021 Axual B.V.. All rights reserved.