Skip to content

Commit

Permalink
Do not expose full configuration in the logs to avoid to leak secrets. (
Browse files Browse the repository at this point in the history
#277)

Kafka Streams already expose this in a secure way.
  • Loading branch information
SouquieresAdam authored Nov 21, 2024
1 parent 0e5da54 commit 96b54e3
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,5 @@ public static void registerProperties(Properties properties) {
}

KafkaStreamsExecutionContext.properties = properties;
StringBuilder stringBuilderProperties = new StringBuilder("Kafka Stream properties:\n");
properties.forEach(
(key, value) -> stringBuilderProperties.append("\t").append(key).append(" = ")
.append(value).append("\n"));
log.info(stringBuilderProperties.toString());
}
}

0 comments on commit 96b54e3

Please sign in to comment.