diff --git a/streams-bootstrap/src/main/java/com/bakdata/kafka/ConfiguredProducerApp.java b/streams-bootstrap/src/main/java/com/bakdata/kafka/ConfiguredProducerApp.java index d0fe4661..01260779 100644 --- a/streams-bootstrap/src/main/java/com/bakdata/kafka/ConfiguredProducerApp.java +++ b/streams-bootstrap/src/main/java/com/bakdata/kafka/ConfiguredProducerApp.java @@ -73,10 +73,11 @@ private static Map createKafkaProperties(final KafkaEndpointConf * Configs provided by {@link ProducerApp#createKafkaProperties()} * *
  • - * Configs provided by {@link ProducerAppConfiguration#getKafkaConfig()} + * Configs provided via environment variables (see + * {@link EnvironmentKafkaConfigParser#parseVariables(Map)}) *
  • *
  • - * Environment variables {see @{link {@link EnvironmentKafkaConfigParser#parseVariables(Map)}}} + * Configs provided by {@link ProducerAppConfiguration#getKafkaConfig()} *
  • *
  • * Configs provided by {@link KafkaEndpointConfig#createKafkaProperties()} @@ -88,8 +89,8 @@ private static Map createKafkaProperties(final KafkaEndpointConf public Map getKafkaProperties(final KafkaEndpointConfig endpointConfig) { final Map kafkaConfig = createKafkaProperties(endpointConfig); kafkaConfig.putAll(this.app.createKafkaProperties()); - kafkaConfig.putAll(this.configuration.getKafkaConfig()); kafkaConfig.putAll(EnvironmentKafkaConfigParser.parseVariables(System.getenv())); + kafkaConfig.putAll(this.configuration.getKafkaConfig()); kafkaConfig.putAll(endpointConfig.createKafkaProperties()); return Collections.unmodifiableMap(kafkaConfig); } diff --git a/streams-bootstrap/src/main/java/com/bakdata/kafka/ConfiguredStreamsApp.java b/streams-bootstrap/src/main/java/com/bakdata/kafka/ConfiguredStreamsApp.java index 3fd0683e..491267da 100644 --- a/streams-bootstrap/src/main/java/com/bakdata/kafka/ConfiguredStreamsApp.java +++ b/streams-bootstrap/src/main/java/com/bakdata/kafka/ConfiguredStreamsApp.java @@ -74,10 +74,11 @@ private static Map createKafkaProperties(final KafkaEndpointConf * Configs provided by {@link StreamsApp#createKafkaProperties(StreamsConfigurationOptions)} *
  • *
  • - * Configs provided by {@link StreamsAppConfiguration#getKafkaConfig()} + * Configs provided via environment variables (see + * {@link EnvironmentKafkaConfigParser#parseVariables(Map)}) *
  • *
  • - * Environment variables {see @{link {@link EnvironmentKafkaConfigParser#parseVariables(Map)}}} + * Configs provided by {@link StreamsAppConfiguration#getKafkaConfig()} *
  • *
  • * Configs provided by {@link KafkaEndpointConfig#createKafkaProperties()} @@ -93,8 +94,8 @@ private static Map createKafkaProperties(final KafkaEndpointConf public Map getKafkaProperties(final KafkaEndpointConfig endpointConfig) { final Map kafkaConfig = createKafkaProperties(endpointConfig); kafkaConfig.putAll(this.app.createKafkaProperties(this.configuration.getOptions())); - kafkaConfig.putAll(this.configuration.getKafkaConfig()); kafkaConfig.putAll(EnvironmentKafkaConfigParser.parseVariables(System.getenv())); + kafkaConfig.putAll(this.configuration.getKafkaConfig()); kafkaConfig.putAll(endpointConfig.createKafkaProperties()); kafkaConfig.put(StreamsConfig.APPLICATION_ID_CONFIG, this.app.getUniqueAppId(this.getTopics())); return Collections.unmodifiableMap(kafkaConfig);