Package com.bakdata.kafka.streams
Class TopologyConfigX
java.lang.Object
org.apache.kafka.common.config.AbstractConfig
com.bakdata.kafka.streams.TopologyConfigX
public class TopologyConfigX
extends org.apache.kafka.common.config.AbstractConfig
Configuration for a
StreamsBuilderX. Specifies how to build a
Topology.-
Field Summary
FieldsFields inherited from class org.apache.kafka.common.config.AbstractConfig
AUTOMATIC_CONFIG_PROVIDERS_PROPERTY, CONFIG_PROVIDERS_CONFIG, CONFIG_PROVIDERS_DOC -
Constructor Summary
ConstructorsConstructorDescriptionTopologyConfigX(Map<String, Object> properties) Create a newStreamsBuilderXConfigusing the given properties. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if adding lineage headers is enabled.booleanCheck if only the latest lineage header should be kept.Methods inherited from class org.apache.kafka.common.config.AbstractConfig
documentationOf, equals, get, getBoolean, getClass, getConfiguredInstance, getConfiguredInstance, getConfiguredInstances, getConfiguredInstances, getConfiguredInstances, getDouble, getInt, getList, getLong, getPassword, getShort, getString, hashCode, ignore, logUnused, nonInternalValues, originals, originals, originalsStrings, originalsWithPrefix, originalsWithPrefix, postProcessParsedConfig, preProcessParsedConfig, typeOf, unused, values, valuesWithPrefixAllOrNothing, valuesWithPrefixOverride
-
Field Details
-
LINEAGE_ENABLED_CONFIG
- See Also:
-
LINEAGE_ONLY_LATEST_HEADER_CONFIG
- See Also:
-
-
Constructor Details
-
TopologyConfigX
Create a newStreamsBuilderXConfigusing the given properties.- Parameters:
properties- properties that specify how to build aTopology
-
-
Method Details
-
isLineageEnabled
public boolean isLineageEnabled()Check if adding lineage headers is enabled. This is controlled byLINEAGE_ENABLED_CONFIG- Returns:
- true if lineage headers are added to streams and tables
-
isOnlyLatestLineageHeader
public boolean isOnlyLatestLineageHeader()Check if only the latest lineage header should be kept. This is controlled byLINEAGE_ONLY_LATEST_HEADER_CONFIG- Returns:
- true if only the latest lineage header is kept for each record
-