dataengineervishal commented on code in PR #27784:
URL: https://github.com/apache/flink/pull/27784#discussion_r2983775638
##########
flink-rpc/flink-rpc-akka/src/main/java/org/apache/flink/runtime/rpc/pekko/ActorSystemBootstrapTools.java:
##########
@@ -241,6 +244,20 @@ public static ActorSystem startLocalActorSystem(
}
}
+ /**
+ * Converts the given Pekko {@link Config} into a flattened {@link Map}.
+ *
+ * @param config The Pekko configuration
+ * @return A map of configuration keys to string values
+ */
+ private static Map<String, String> toMap(Config config) {
Review Comment:
Good suggestion, thanks! I've moved the masking logic into the method to
encapsulate it and added a unit test to verify that sensitive values are
properly masked.
Updated the PR, could you please have a look?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]