gong commented on code in PR #7864:
URL: https://github.com/apache/inlong/pull/7864#discussion_r1169425626


##########
inlong-manager/manager-plugins/src/main/java/org/apache/inlong/manager/plugin/util/FlinkConfiguration.java:
##########
@@ -29,7 +29,7 @@
 
 import static org.apache.inlong.manager.plugin.flink.enums.Constants.ADDRESS;
 import static 
org.apache.inlong.manager.plugin.flink.enums.Constants.JOB_MANAGER_PORT;
-import static 
org.apache.inlong.manager.plugin.flink.enums.Constants.METRICS_AUDIT_PROXY_HOSTS;
+import static 
org.apache.inlong.manager.plugin.flink.enums.Constants.METRICS_AUDIT_PROXY_HOSTS_KEY;

Review Comment:
   > Hi @gong I tried adding 
`org.apache.inlong.common.constant.Constants.METRICS_AUDIT_PROXY_HOSTS_KEY` to 
`org.apache.inlong.common.constant.Constants` and also directly using in 
`inlong-sort` but in both the options were needing to create dependency on 
'manager-plugins' which is not correct which might create circular dependency 
between modules 'inlong-common' and 'manager-common'. For reference you can 
check commit-1
   
   @bibhu107 Hi, I think you can `inlong-sort` and `manager-plugin`  module 
dependency `inlong-common`  after adding 
`org.apache.inlong.common.constant.Constants.METRICS_AUDIT_PROXY_HOSTS_KEY` to 
`org.apache.inlong.common.constant.Constants`. `inlong-sort` module don't need 
to dependency `manager-plugin` module.



-- 
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]

Reply via email to