Class BaseStreamsConfigBuilder<T extends BaseStreamsConfigBuilder<T> & org.swisspush.kobuka.client.base.ClientBuilderFunctions<T>>
- All Implemented Interfaces:
StreamsConfigFields<T>
- Direct Known Subclasses:
StreamsConfigBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptableRecoveryLag(Long value) acceptable.recovery.lagapplicationId(String value) application.idapplicationServer(String value) application.serverbootstrapServers(String value) bootstrap.serversbootstrapServers(List<String> value) bootstrap.serversbuffered.records.per.partitionbuild()default <R> RbuiltInMetricsVersion(String value) built.in.metrics.versioncacheMaxBytesBuffering(Long value) cache.max.bytes.bufferingclient.idcommitIntervalMs(Long value) commit.interval.msconnectionsMaxIdleMs(Long value) connections.max.idle.msvoidcopyFrom(BaseCommonClientConfigBuilder<?> parent) voidcopyFrom(BaseStreamsConfigBuilder<?> parent) default.deserialization.exception.handlerdefaultDslStore(String value) default.dsl.storedefaultKeySerde(Class value) default.key.serdedefaultListKeySerdeInner(Class value) default.list.key.serde.innerdefaultListKeySerdeType(Class value) default.list.key.serde.typedefaultListValueSerdeInner(Class value) default.list.value.serde.innerdefaultListValueSerdeType(Class value) default.list.value.serde.typedefault.production.exception.handlerdefaultTimestampExtractor(Class value) default.timestamp.extractordefaultValueSerde(Class value) default.value.serdemaxTaskIdleMs(Long value) max.task.idle.msmaxWarmupReplicas(Integer value) max.warmup.replicasmetadataMaxAgeMs(Long value) metadata.max.age.msmetricReporters(String value) metric.reportersmetricReporters(List<String> value) metric.reportersmetricsNumSamples(Integer value) metrics.num.samplesmetricsRecordingLevel(String value) metrics.recording.levelmetricsSampleWindowMs(Long value) metrics.sample.window.msnumStandbyReplicas(Integer value) num.standby.replicasnumStreamThreads(Integer value) num.stream.threadspoll.msprobingRebalanceIntervalMs(Long value) probing.rebalance.interval.msprocessingGuarantee(String value) processing.guaranteedefault TrackAwareAssignmentTags(String value) rack.aware.assignment.tagsrackAwareAssignmentTags(List<String> value) rack.aware.assignment.tagsreceiveBufferBytes(Integer value) receive.buffer.bytesreconnectBackoffMaxMs(Long value) reconnect.backoff.max.msreconnectBackoffMs(Long value) reconnect.backoff.msrepartitionPurgeIntervalMs(Long value) repartition.purge.interval.msreplicationFactor(Integer value) replication.factorrequestTimeoutMs(Integer value) request.timeout.msretriesretryBackoffMs(Long value) retry.backoff.msrocksdbConfigSetter(Class value) rocksdb.config.settersecurityProtocol(String value) security.protocolsendBufferBytes(Integer value) send.buffer.bytesstateCleanupDelayMs(Long value) state.cleanup.delay.msstate.dirtaskTimeoutMs(Long value) task.timeout.mstopologyOptimization(String value) topology.optimization<R> Rtransform(Function<BaseStreamsConfigBuilder<?>, R> fn) upgradeFrom(String value) upgrade.fromwindowedInnerClassSerde(String value) windowed.inner.class.serdewindowSizeMs(Long value) window.size.mswindowstore.changelog.additional.retention.msMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.swisspush.kobuka.client.base.StreamsConfigFields
self
-
Constructor Details
-
BaseStreamsConfigBuilder
public BaseStreamsConfigBuilder()
-
-
Method Details
-
copyFrom
-
copyFrom
-
build
-
transform
-
build
-
property
-
asSupplier
-
applicationId
Description copied from interface:StreamsConfigFieldsapplication.id
An identifier for the stream processing application.
Must be unique within the Kafka cluster.
It is used as 1) the default client-id prefix, 2) the group-id for membership management, 3) the changelog topic prefix.Default:
Valid Values:
Importance: high
- Specified by:
applicationIdin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
bootstrapServers
Description copied from interface:StreamsConfigFieldsbootstrap.servers
A list of host/port pairs to use for establishing the initial connection to the Kafka cluster.
The client will make use of all servers irrespective of which servers are specified here for bootstrapping—this list only impacts the initial hosts used to discover the full set of servers.
This list should be in the formhost1:port1,host2:port2,....
Since these servers are just used for the initial connection to discover the full cluster membership (which may change dynamically), this list need not contain the full set of servers (you may want more than one, though, in case a server is down).Default:
Valid Values:
Importance: high
- Specified by:
bootstrapServersin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
bootstrapServers
Description copied from interface:StreamsConfigFieldsbootstrap.servers
A list of host/port pairs to use for establishing the initial connection to the Kafka cluster.
The client will make use of all servers irrespective of which servers are specified here for bootstrapping—this list only impacts the initial hosts used to discover the full set of servers.
This list should be in the formhost1:port1,host2:port2,....
Since these servers are just used for the initial connection to discover the full cluster membership (which may change dynamically), this list need not contain the full set of servers (you may want more than one, though, in case a server is down).Default:
Valid Values:
Importance: high
- Specified by:
bootstrapServersin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
numStandbyReplicas
Description copied from interface:StreamsConfigFieldsnum.standby.replicas
The number of standby replicas for each task.Default: 0
Valid Values:
Importance: high
- Specified by:
numStandbyReplicasin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
stateDir
Description copied from interface:StreamsConfigFieldsstate.dir
Directory location for state store.
This path must be unique for each streams instance sharing the same underlying filesystem.Default: /tmp/kafka-streams
Valid Values:
Importance: high
- Specified by:
stateDirin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
acceptableRecoveryLag
Description copied from interface:StreamsConfigFieldsacceptable.recovery.lag
The maximum acceptable lag (number of offsets to catch up) for a client to be considered caught-up enough to receive an active task assignment.
Upon assignment, it will still restore the rest of the changelog before processing.
To avoid a pause in processing during rebalances, this config should correspond to a recovery time of well under a minute for a given workload.
Must be at least 0.Default: 10000
Valid Values: [0,...]
Importance: medium
- Specified by:
acceptableRecoveryLagin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
cacheMaxBytesBuffering
Description copied from interface:StreamsConfigFieldscache.max.bytes.buffering
Maximum number of memory bytes to be used for buffering across all threadsDefault: 10485760
Valid Values: [0,...]
Importance: medium
- Specified by:
cacheMaxBytesBufferingin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
clientId
Description copied from interface:StreamsConfigFieldsclient.id
An ID prefix string used for the client IDs of internal consumer, producer and restore-consumer, with pattern '<client.id>-StreamThread--<consumer|producer|restore-consumer>'. Default: ""
Valid Values:
Importance: medium
- Specified by:
clientIdin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
defaultDeserializationExceptionHandler
Description copied from interface:StreamsConfigFieldsdefault.deserialization.exception.handler
Exception handling class that implements theorg.apache.kafka.streams.errors.DeserializationExceptionHandlerinterface.Default: org.apache.kafka.streams.errors.LogAndFailExceptionHandler
Valid Values:
Importance: medium
- Specified by:
defaultDeserializationExceptionHandlerin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
defaultKeySerde
Description copied from interface:StreamsConfigFieldsdefault.key.serde
Default serializer / deserializer class for key that implements theorg.apache.kafka.common.serialization.Serdeinterface.
Note when windowed serde class is used, one needs to set the inner serde class that implements theorg.apache.kafka.common.serialization.Serdeinterface via 'default.windowed.key.serde.inner' or 'default.windowed.value.serde.inner' as wellDefault: null
Valid Values:
Importance: medium
- Specified by:
defaultKeySerdein interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
defaultListKeySerdeInner
Description copied from interface:StreamsConfigFieldsdefault.list.key.serde.inner
Default inner class of list serde for key that implements theorg.apache.kafka.common.serialization.Serdeinterface.
This configuration will be read if and only ifdefault.key.serdeconfiguration is set toorg.apache.kafka.common.serialization.Serdes.ListSerdeDefault: null
Valid Values:
Importance: medium
- Specified by:
defaultListKeySerdeInnerin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
defaultListValueSerdeInner
Description copied from interface:StreamsConfigFieldsdefault.list.value.serde.inner
Default inner class of list serde for value that implements theorg.apache.kafka.common.serialization.Serdeinterface.
This configuration will be read if and only ifdefault.value.serdeconfiguration is set toorg.apache.kafka.common.serialization.Serdes.ListSerdeDefault: null
Valid Values:
Importance: medium
- Specified by:
defaultListValueSerdeInnerin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
defaultListKeySerdeType
Description copied from interface:StreamsConfigFieldsdefault.list.key.serde.type
Default class for key that implements thejava.util.Listinterface.
This configuration will be read if and only ifdefault.key.serdeconfiguration is set toorg.apache.kafka.common.serialization.Serdes.ListSerdeNote when list serde class is used, one needs to set the inner serde class that implements theorg.apache.kafka.common.serialization.Serdeinterface via 'default.list.key.serde.inner'Default: null
Valid Values:
Importance: medium
- Specified by:
defaultListKeySerdeTypein interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
defaultListValueSerdeType
Description copied from interface:StreamsConfigFieldsdefault.list.value.serde.type
Default class for value that implements thejava.util.Listinterface.
This configuration will be read if and only ifdefault.value.serdeconfiguration is set toorg.apache.kafka.common.serialization.Serdes.ListSerdeNote when list serde class is used, one needs to set the inner serde class that implements theorg.apache.kafka.common.serialization.Serdeinterface via 'default.list.value.serde.inner'Default: null
Valid Values:
Importance: medium
- Specified by:
defaultListValueSerdeTypein interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
defaultProductionExceptionHandler
Description copied from interface:StreamsConfigFieldsdefault.production.exception.handler
Exception handling class that implements theorg.apache.kafka.streams.errors.ProductionExceptionHandlerinterface.Default: org.apache.kafka.streams.errors.DefaultProductionExceptionHandler
Valid Values:
Importance: medium
- Specified by:
defaultProductionExceptionHandlerin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
defaultTimestampExtractor
Description copied from interface:StreamsConfigFieldsdefault.timestamp.extractor
Default timestamp extractor class that implements theorg.apache.kafka.streams.processor.TimestampExtractorinterface.Default: org.apache.kafka.streams.processor.FailOnInvalidTimestamp
Valid Values:
Importance: medium
- Specified by:
defaultTimestampExtractorin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
defaultValueSerde
Description copied from interface:StreamsConfigFieldsdefault.value.serde
Default serializer / deserializer class for value that implements theorg.apache.kafka.common.serialization.Serdeinterface.
Note when windowed serde class is used, one needs to set the inner serde class that implements theorg.apache.kafka.common.serialization.Serdeinterface via 'default.windowed.key.serde.inner' or 'default.windowed.value.serde.inner' as wellDefault: null
Valid Values:
Importance: medium
- Specified by:
defaultValueSerdein interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
maxTaskIdleMs
Description copied from interface:StreamsConfigFieldsmax.task.idle.ms
This config controls whether joins and merges may produce out-of-order results.
The config value is the maximum amount of time in milliseconds a stream task will stay idle when it is fully caught up on some (but not all) input partitions to wait for producers to send additional records and avoid potential out-of-order record processing across multiple input streams.
The default (zero) does not wait for producers to send more records, but it does wait to fetch data that is already present on the brokers.
This default means that for records that are already present on the brokers, Streams will process them in timestamp order.
Set to -1 to disable idling entirely and process any locally available data, even though doing so may produce out-of-order processing.Default: 0
Valid Values:
Importance: medium
- Specified by:
maxTaskIdleMsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
maxWarmupReplicas
Description copied from interface:StreamsConfigFieldsmax.warmup.replicas
The maximum number of warmup replicas (extra standbys beyond the configured num.standbys) that can be assigned at once for the purpose of keeping the task available on one instance while it is warming up on another instance it has been reassigned to.
Used to throttle how much extra broker traffic and cluster state can be used for high availability.
Must be at least 1.Default: 2
Valid Values: [1,...]
Importance: medium
- Specified by:
maxWarmupReplicasin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
numStreamThreads
Description copied from interface:StreamsConfigFieldsnum.stream.threads
The number of threads to execute stream processing.Default: 1
Valid Values:
Importance: medium
- Specified by:
numStreamThreadsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
processingGuarantee
Description copied from interface:StreamsConfigFieldsprocessing.guarantee
The processing guarantee that should be used.
Possible values areat_least_once(default) andexactly_once_v2(requires brokers version 2.5 or higher).
Deprecated options areexactly_once(requires brokers version 0.11.0 or higher) andexactly_once_beta(requires brokers version 2.5 or higher).
Note that exactly-once processing requires a cluster of at least three brokers by default what is the recommended setting for production; for development you can change this, by adjusting broker settingtransaction.state.log.replication.factorandtransaction.state.log.min.isr.Default: at_least_once
Valid Values: [at_least_once, exactly_once, exactly_once_beta, exactly_once_v2]
Importance: medium
- Specified by:
processingGuaranteein interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
rackAwareAssignmentTags
Description copied from interface:StreamsConfigFieldsrack.aware.assignment.tags
List of client tag keys used to distribute standby replicas across Kafka Streams instances.
When configured, Kafka Streams will make a best-effort to distribute the standby tasks over each client tag dimension.Default: ""
Valid Values: List containing maximum of 5 elements
Importance: medium
- Specified by:
rackAwareAssignmentTagsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
rackAwareAssignmentTags
Description copied from interface:StreamsConfigFieldsrack.aware.assignment.tags
List of client tag keys used to distribute standby replicas across Kafka Streams instances.
When configured, Kafka Streams will make a best-effort to distribute the standby tasks over each client tag dimension.Default: ""
Valid Values: List containing maximum of 5 elements
Importance: medium
- Specified by:
rackAwareAssignmentTagsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
replicationFactor
Description copied from interface:StreamsConfigFieldsreplication.factor
The replication factor for change log topics and repartition topics created by the stream processing application.
The default of-1(meaning: use broker default replication factor) requires broker version 2.4 or newerDefault: -1
Valid Values:
Importance: medium
- Specified by:
replicationFactorin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
securityProtocol
Description copied from interface:StreamsConfigFieldssecurity.protocol
Protocol used to communicate with brokers.
Valid values are: PLAINTEXT, SSL, SASL_PLAINTEXT, SASL_SSL.Default: PLAINTEXT
Valid Values: [PLAINTEXT, SSL, SASL_PLAINTEXT, SASL_SSL]
Importance: medium
- Specified by:
securityProtocolin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
taskTimeoutMs
Description copied from interface:StreamsConfigFieldstask.timeout.ms
The maximum amount of time in milliseconds a task might stall due to internal errors and retries until an error is raised.
For a timeout of 0ms, a task would raise an error for the first internal error.
For any timeout larger than 0ms, a task will retry at least once before an error is raised.Default: 300000 (5 minutes)
Valid Values: [0,...]
Importance: medium
- Specified by:
taskTimeoutMsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
topologyOptimization
Description copied from interface:StreamsConfigFieldstopology.optimization
A configuration telling Kafka Streams if it should optimize the topology, disabled by defaultDefault: none
Valid Values: [none, all]
Importance: medium
- Specified by:
topologyOptimizationin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
applicationServer
Description copied from interface:StreamsConfigFieldsapplication.server
A host:port pair pointing to a user-defined endpoint that can be used for state store discovery and interactive queries on this KafkaStreams instance.Default: ""
Valid Values:
Importance: low
- Specified by:
applicationServerin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
bufferedRecordsPerPartition
Description copied from interface:StreamsConfigFieldsbuffered.records.per.partition
Maximum number of records to buffer per partition.Default: 1000
Valid Values:
Importance: low
- Specified by:
bufferedRecordsPerPartitionin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
builtInMetricsVersion
Description copied from interface:StreamsConfigFieldsbuilt.in.metrics.version
Version of the built-in metrics to use.Default: latest
Valid Values: [latest]
Importance: low
- Specified by:
builtInMetricsVersionin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
commitIntervalMs
Description copied from interface:StreamsConfigFieldscommit.interval.ms
The frequency in milliseconds with which to commit processing progress.
For at-least-once processing, committing means to save the position (ie, offsets) of the processor.
For exactly-once processing, it means to commit the transaction which includes to save the position and to make the committed data in the output topic visible to consumers with isolation level read_committed.
(Note, ifprocessing.guaranteeis set toexactly_once_v2,exactly_once,the default value is100, otherwise the default value is30000.Default: 30000 (30 seconds)
Valid Values: [0,...]
Importance: low
- Specified by:
commitIntervalMsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
repartitionPurgeIntervalMs
Description copied from interface:StreamsConfigFieldsrepartition.purge.interval.ms
The frequency in milliseconds with which to delete fully consumed records from repartition topics.
Purging will occur after at least this value since the last purge, but may be delayed until later.
(Note, unlikecommit.interval.ms, the default for this value remains unchanged whenprocessing.guaranteeis set toexactly_once_v2).Default: 30000 (30 seconds)
Valid Values: [0,...]
Importance: low
- Specified by:
repartitionPurgeIntervalMsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
connectionsMaxIdleMs
Description copied from interface:StreamsConfigFieldsconnections.max.idle.ms
Close idle connections after the number of milliseconds specified by this config.Default: 540000 (9 minutes)
Valid Values:
Importance: low
- Specified by:
connectionsMaxIdleMsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
defaultDslStore
Description copied from interface:StreamsConfigFieldsdefault.dsl.store
The default state store type used by DSL operators.Default: rocksDB
Valid Values: [rocksDB, in_memory]
Importance: low
- Specified by:
defaultDslStorein interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
metadataMaxAgeMs
Description copied from interface:StreamsConfigFieldsmetadata.max.age.ms
The period of time in milliseconds after which we force a refresh of metadata even if we haven't seen any partition leadership changes to proactively discover any new brokers or partitions.Default: 300000 (5 minutes)
Valid Values: [0,...]
Importance: low
- Specified by:
metadataMaxAgeMsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
metricsNumSamples
Description copied from interface:StreamsConfigFieldsmetrics.num.samples
The number of samples maintained to compute metrics.Default: 2
Valid Values: [1,...]
Importance: low
- Specified by:
metricsNumSamplesin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
metricReporters
Description copied from interface:StreamsConfigFieldsmetric.reporters
A list of classes to use as metrics reporters.
Implementing theorg.apache.kafka.common.metrics.MetricsReporterinterface allows plugging in classes that will be notified of new metric creation.
The JmxReporter is always included to register JMX statistics.Default: ""
Valid Values:
Importance: low
- Specified by:
metricReportersin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
metricReporters
Description copied from interface:StreamsConfigFieldsmetric.reporters
A list of classes to use as metrics reporters.
Implementing theorg.apache.kafka.common.metrics.MetricsReporterinterface allows plugging in classes that will be notified of new metric creation.
The JmxReporter is always included to register JMX statistics.Default: ""
Valid Values:
Importance: low
- Specified by:
metricReportersin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
metricsRecordingLevel
Description copied from interface:StreamsConfigFieldsmetrics.recording.level
The highest recording level for metrics.Default: INFO
Valid Values: [INFO, DEBUG, TRACE]
Importance: low
- Specified by:
metricsRecordingLevelin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
metricsSampleWindowMs
Description copied from interface:StreamsConfigFieldsmetrics.sample.window.ms
The window of time a metrics sample is computed over.Default: 30000 (30 seconds)
Valid Values: [0,...]
Importance: low
- Specified by:
metricsSampleWindowMsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
pollMs
Description copied from interface:StreamsConfigFieldspoll.ms
The amount of time in milliseconds to block waiting for input.Default: 100
Valid Values:
Importance: low
- Specified by:
pollMsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
probingRebalanceIntervalMs
Description copied from interface:StreamsConfigFieldsprobing.rebalance.interval.ms
The maximum time in milliseconds to wait before triggering a rebalance to probe for warmup replicas that have finished warming up and are ready to become active.
Probing rebalances will continue to be triggered until the assignment is balanced.
Must be at least 1 minute.Default: 600000 (10 minutes)
Valid Values: [60000,...]
Importance: low
- Specified by:
probingRebalanceIntervalMsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
receiveBufferBytes
Description copied from interface:StreamsConfigFieldsreceive.buffer.bytes
The size of the TCP receive buffer (SO_RCVBUF) to use when reading data.
If the value is -1, the OS default will be used.Default: 32768 (32 kibibytes)
Valid Values: [-1,...]
Importance: low
- Specified by:
receiveBufferBytesin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
reconnectBackoffMs
Description copied from interface:StreamsConfigFieldsreconnect.backoff.ms
The base amount of time to wait before attempting to reconnect to a given host.
This avoids repeatedly connecting to a host in a tight loop.
This backoff applies to all connection attempts by the client to a broker.Default: 50
Valid Values: [0,...]
Importance: low
- Specified by:
reconnectBackoffMsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
reconnectBackoffMaxMs
Description copied from interface:StreamsConfigFieldsreconnect.backoff.max.ms
The maximum amount of time in milliseconds to wait when reconnecting to a broker that has repeatedly failed to connect.
If provided, the backoff per host will increase exponentially for each consecutive connection failure, up to this maximum.
After calculating the backoff increase, 20% random jitter is added to avoid connection storms.Default: 1000 (1 second)
Valid Values: [0,...]
Importance: low
- Specified by:
reconnectBackoffMaxMsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
retries
Description copied from interface:StreamsConfigFieldsretries
Setting a value greater than zero will cause the client to resend any request that fails with a potentially transient error.
It is recommended to set the value to either zero or `MAX_VALUE` and use corresponding timeout parameters to control how long a client should retry a request.Default: 0
Valid Values: [0,...,2147483647]
Importance: low
- Specified by:
retriesin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
retryBackoffMs
Description copied from interface:StreamsConfigFieldsretry.backoff.ms
The amount of time to wait before attempting to retry a failed request to a given topic partition.
This avoids repeatedly sending requests in a tight loop under some failure scenarios.Default: 100
Valid Values: [0,...]
Importance: low
- Specified by:
retryBackoffMsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
requestTimeoutMs
Description copied from interface:StreamsConfigFieldsrequest.timeout.ms
The configuration controls the maximum amount of time the client will wait for the response of a request.
If the response is not received before the timeout elapses the client will resend the request if necessary or fail the request if retries are exhausted.Default: 40000 (40 seconds)
Valid Values: [0,...]
Importance: low
- Specified by:
requestTimeoutMsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
rocksdbConfigSetter
Description copied from interface:StreamsConfigFieldsrocksdb.config.setter
A Rocks DB config setter class or class name that implements theorg.apache.kafka.streams.state.RocksDBConfigSetterinterfaceDefault: null
Valid Values:
Importance: low
- Specified by:
rocksdbConfigSetterin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
sendBufferBytes
Description copied from interface:StreamsConfigFieldssend.buffer.bytes
The size of the TCP send buffer (SO_SNDBUF) to use when sending data.
If the value is -1, the OS default will be used.Default: 131072 (128 kibibytes)
Valid Values: [-1,...]
Importance: low
- Specified by:
sendBufferBytesin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
stateCleanupDelayMs
Description copied from interface:StreamsConfigFieldsstate.cleanup.delay.ms
The amount of time in milliseconds to wait before deleting state when a partition has migrated.
Only state directories that have not been modified for at leaststate.cleanup.delay.mswill be removedDefault: 600000 (10 minutes)
Valid Values:
Importance: low
- Specified by:
stateCleanupDelayMsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
upgradeFrom
Description copied from interface:StreamsConfigFieldsupgrade.from
Allows upgrading in a backward compatible way.
This is needed when upgrading from [0.10.0, 1.1] to 2.0+, or when upgrading from [2.0, 2.3] to 2.4+.
When upgrading from 3.3 to a newer version it is not required to specify this config.
Default is `null`.
Accepted values are "0.10.0", "0.10.1", "0.10.2", "0.11.0", "1.0", "1.1", "2.0", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "2.8", "3.0", "3.1", "3.2" (for upgrading from the corresponding old version).Default: null
Valid Values: [null, 0.10.0, 0.10.1, 0.10.2, 0.11.0, 1.0, 1.1, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 3.0, 3.1, 3.2]
Importance: low
- Specified by:
upgradeFromin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
windowedInnerClassSerde
Description copied from interface:StreamsConfigFieldswindowed.inner.class.serde
Default serializer / deserializer for the inner class of a windowed record.
Must implement theorg.apache.kafka.common.serialization.Serdeinterface.
Note that setting this config in KafkaStreams application would result in an error as it is meant to be used only from Plain consumer client.Default: null
Valid Values:
Importance: low
- Specified by:
windowedInnerClassSerdein interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
windowstoreChangelogAdditionalRetentionMs
Description copied from interface:StreamsConfigFieldswindowstore.changelog.additional.retention.ms
Added to a windows maintainMs to ensure data is not deleted from the log prematurely.
Allows for clock drift.
Default is 1 dayDefault: 86400000 (1 day)
Valid Values:
Importance: low
- Specified by:
windowstoreChangelogAdditionalRetentionMsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-
windowSizeMs
Description copied from interface:StreamsConfigFieldswindow.size.ms
Sets window size for the deserializer in order to calculate window end times.Default: null
Valid Values:
Importance: low
- Specified by:
windowSizeMsin interfaceStreamsConfigFields<T extends org.swisspush.kobuka.client.base.AbstractStreamsConfigBuilder<T>>
-