gong commented on code in PR #6684:
URL: https://github.com/apache/inlong/pull/6684#discussion_r1035505229
##########
inlong-sort/sort-core/src/main/java/org/apache/inlong/sort/Entrance.java:
##########
@@ -58,7 +58,8 @@ public static void main(String[] args) throws Exception {
Parser parser;
if (StringUtils.isEmpty(sqlFile)) {
final GroupInfo groupInfo =
getGroupInfoFromFile(config.getString(Constants.GROUP_INFO_FILE));
- parser = FlinkSqlParser.getInstance(tableEnv, groupInfo);
+ String auditProxyHosts =
config.getString(Constants.METRICS_AUDIT_PROXY_HOSTS);
+ parser = FlinkSqlParser.getInstance(tableEnv, groupInfo,
auditProxyHosts);
Review Comment:
I suggest just set `auditProxyHosts` to properties of gruopInfo. not to
change FlinkSqlParser.getInstance.
--
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]