| Package | Description |
|---|---|
| net.soundvibe.kafka.config.streams |
| Modifier and Type | Method and Description |
|---|---|
static StreamsConfigBuilder |
StreamsConfigBuilder.create() |
StreamsConfigBuilder |
StreamsConfigBuilder.withApplicationId(String applicationId)
An identifier for the stream processing application.
|
StreamsConfigBuilder |
StreamsConfigBuilder.withApplicationServer(String applicationServer)
A host:port pair pointing to an embedded user defined endpoint that can be used for discovering the locations of state stores within a single KafkaStreams application
|
StreamsConfigBuilder |
StreamsConfigBuilder.withBufferedRecordsPerPartition(int bufferedRecordsPerPartition)
Maximum number of records to buffer per partition.
|
StreamsConfigBuilder |
StreamsConfigBuilder.withCacheMaxBytesBuffering(long cacheMaxBytesBuffering)
Maximum number of memory bytes to be used for buffering across all threads
|
StreamsConfigBuilder |
StreamsConfigBuilder.withClientId(String clientId)
An ID prefix string used for the client IDs of internal consumer, producer and restore-consumer,
with pattern '
|
StreamsConfigBuilder |
StreamsConfigBuilder.withCommitInterval(Duration commitInterval)
The frequency with which to save the position of the processor.
|
StreamsConfigBuilder |
StreamsConfigBuilder.withDefaultDeserializationExceptionHandler(Class<? extends org.apache.kafka.streams.errors.DeserializationExceptionHandler> defaultDeserializationExceptionHandler)
Exception handling class that implements the
org.apache.kafka.streams.errors.DeserializationExceptionHandler interface. |
StreamsConfigBuilder |
StreamsConfigBuilder.withDefaultKeySerde(Class<? extends org.apache.kafka.common.serialization.Serde> defaultKeySerde)
Default serializer / deserializer class for key that implements the
org.apache.kafka.common.serialization.Serde interface. |
StreamsConfigBuilder |
StreamsConfigBuilder.withDefaultProductionExceptionHandler(Class<? extends org.apache.kafka.streams.errors.ProductionExceptionHandler> defaultProductionExceptionHandler)
Exception handling class that implements the
org.apache.kafka.streams.errors.ProductionExceptionHandler interface. |
StreamsConfigBuilder |
StreamsConfigBuilder.withDefaultTimestampExtractor(Class<? extends org.apache.kafka.streams.processor.TimestampExtractor> defaultTimestampExtractor)
Default timestamp extractor class that implements the
org.apache.kafka.streams.processor.TimestampExtractor interface. |
StreamsConfigBuilder |
StreamsConfigBuilder.withDefaultValueSerde(Class<? extends org.apache.kafka.common.serialization.Serde> defaultValueSerde)
Default serializer / deserializer class for value that implements the
org.apache.kafka.common.serialization.Serde interface. |
StreamsConfigBuilder |
StreamsConfigBuilder.withMaxTaskIdle(Duration maxTaskIdle)
Maximum amount of time a stream task will stay idle when not all of its partition buffers contain records,
to avoid potential out-of-order record processing across multiple input streams.
|
StreamsConfigBuilder |
StreamsConfigBuilder.withNumStandbyReplicas(int numStandbyReplicas)
The number of standby replicas for each task.
|
StreamsConfigBuilder |
StreamsConfigBuilder.withNumStreamThreads(int numStreamThreads)
The number of threads to execute stream processing.
|
StreamsConfigBuilder |
StreamsConfigBuilder.withPartitionGrouper(Class<? extends org.apache.kafka.streams.processor.PartitionGrouper> partitionGrouper)
Partition grouper class that implements the
org.apache.kafka.streams.processor.PartitionGrouper interface. |
StreamsConfigBuilder |
StreamsConfigBuilder.withPoll(Duration poll)
The amount of time to block waiting for input.
|
StreamsConfigBuilder |
StreamsConfigBuilder.withProcessingGuarantee(ProcessingGuarantee processingGuarantee)
The processing guarantee that should be used.
|
StreamsConfigBuilder |
StreamsConfigBuilder.withReplicationFactor(int replicationFactor)
The replication factor for change log topics and repartition topics created by the stream processing application.
|
StreamsConfigBuilder |
StreamsConfigBuilder.withRocksDBConfigSetter(Class<? extends org.apache.kafka.streams.state.RocksDBConfigSetter> rocksDBConfigSetter)
A Rocks DB config setter class or class name that implements the
org.apache.kafka.streams.state.RocksDBConfigSetter interface |
StreamsConfigBuilder |
StreamsConfigBuilder.withStateCleanupDelay(Duration stateCleanupDelay)
The amount of time in milliseconds to wait before deleting state when a partition has migrated.
|
StreamsConfigBuilder |
StreamsConfigBuilder.withStateDir(Path stateDir)
The replication factor for change log topics and repartition topics created by the stream processing application.
|
StreamsConfigBuilder |
StreamsConfigBuilder.withTopologyOptimization(TopologyOptimization topologyOptimization)
A configuration telling Kafka Streams if it should optimize the topology, disabled by default
|
StreamsConfigBuilder |
StreamsConfigBuilder.withUpgradeFrom(UpgradeFrom upgradeFrom)
Allows upgrading from versions 0.10.0/0.10.1/0.10.2/0.11.0/1.0/1.1 to version 1.2 (or newer) in a backward compatible way.
|
StreamsConfigBuilder |
StreamsConfigBuilder.withWindowStoreChangeLogAdditionalRetention(Duration windowStoreChangeLogAdditionalRetention)
Added to a windows maintainMs to ensure data is not deleted from the log prematurely.
|
Copyright © 2019. All rights reserved.