Package org.apache.kafka.streams
Class TopologyConfig
java.lang.Object
org.apache.kafka.common.config.AbstractConfig
org.apache.kafka.streams.TopologyConfig
Streams configs that apply at the topology level. The values in the
StreamsConfig
parameter of the
KafkaStreams
or KafkaStreamsNamedTopologyWrapper
constructors will
determine the defaults, which can then be overridden for specific topologies by passing them in when creating the
topology builders via the StreamsBuilder(TopologyConfig)
StreamsBuilder(TopologyConfig)} method.-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionfinal StreamsConfig
final long
final Class<?>
final boolean
final int
final long
final String
final long
final Supplier<TimestampExtractor>
final String
final Properties
Fields inherited from class org.apache.kafka.common.config.AbstractConfig
AUTOMATIC_CONFIG_PROVIDERS_PROPERTY, CONFIG_PROVIDERS_CONFIG
-
Constructor Summary
ConstructorDescriptionTopologyConfig
(String topologyName, StreamsConfig globalAppConfigs, Properties topologyOverrides) TopologyConfig
(StreamsConfig globalAppConfigs) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Methods inherited from class org.apache.kafka.common.config.AbstractConfig
documentationOf, equals, getBoolean, getClass, getConfiguredInstance, getConfiguredInstance, getConfiguredInstances, getConfiguredInstances, getConfiguredInstances, getDouble, getInt, getList, getLong, getPassword, getShort, getString, hashCode, ignore, logUnused, nonInternalValues, originals, originals, originalsStrings, originalsWithPrefix, originalsWithPrefix, typeOf, unused, values, valuesWithPrefixAllOrNothing, valuesWithPrefixOverride
-
Field Details
-
topologyName
-
eosEnabled
public final boolean eosEnabled -
applicationConfigs
-
topologyOverrides
-
maxBufferedSize
public final int maxBufferedSize -
cacheSize
public final long cacheSize -
maxTaskIdleMs
public final long maxTaskIdleMs -
taskTimeoutMs
public final long taskTimeoutMs -
storeType
-
dslStoreSuppliers
-
timestampExtractorSupplier
-
deserializationExceptionHandlerSupplier
-
processingExceptionHandlerSupplier
-
-
Constructor Details
-
TopologyConfig
-
TopologyConfig
public TopologyConfig(String topologyName, StreamsConfig globalAppConfigs, Properties topologyOverrides)
-
-
Method Details
-
parseStoreType
Deprecated. -
resolveDslStoreSuppliers
- Returns:
- the DslStoreSuppliers if the value was explicitly configured (either by
StreamsConfig.DEFAULT_DSL_STORE
orStreamsConfig.DSL_STORE_SUPPLIERS_CLASS_CONFIG
)
-
isNamedTopology
public boolean isNamedTopology() -
getTaskConfig
-