Package com.bakdata.kafka
Class KafkaPropertiesFactory
java.lang.Object
com.bakdata.kafka.KafkaPropertiesFactory
Creates properties for a Kafka app.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()createKafkaProperties(Map<String, Object> configOverrides) This method creates the configuration to run a Kafka app.
-
Method Details
-
createKafkaProperties
This method creates the configuration to run a Kafka app.
Configuration is created in the following order-
Configs provided by
baseConfig -
Configs provided by
App.createKafkaProperties() -
Configs provided via environment variables (see
EnvironmentKafkaConfigParser.parseVariables(Map)) -
Configs provided by
RuntimeConfiguration.createKafkaProperties() -
Configs provided by
App.defaultSerializationConfig() -
Configs provided by
configOverridesparameter
- Parameters:
configOverrides- over- Returns:
- Kafka properties
-
Configs provided by
-
builder
-