From a13eacd61c7a098bb820b1e656889bc5ed9e5a5e Mon Sep 17 00:00:00 2001 From: Cancai Cai <77189278+caicancai@users.noreply.github.com> Date: Wed, 12 Jun 2024 13:29:23 +0800 Subject: [PATCH] [Imporvement] Improve the MasterCofnig module comments of dolphinscheduler (#16134) Co-authored-by: xiangzihao <460888207@qq.com> --- .../server/master/config/MasterConfig.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/config/MasterConfig.java b/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/config/MasterConfig.java index 20d3cccef3..d9e6ab3b7d 100644 --- a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/config/MasterConfig.java +++ b/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/config/MasterConfig.java @@ -96,10 +96,14 @@ public class MasterConfig implements Validator { private CommandFetchStrategy commandFetchStrategy = new CommandFetchStrategy(); - // ip:listenPort + /** + * The IP address and listening port of the master server in the format 'ip:listenPort'. + */ private String masterAddress; - // /nodes/master/ip:listenPort + /** + * The registry path for the master server in the format '/nodes/master/ip:listenPort'. + */ private String masterRegistryPath; @Override