wangpeix commented on code in PR #6943:
URL: https://github.com/apache/inlong/pull/6943#discussion_r1051782940
##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/resource/sink/es/ElasticsearchResourceOperator.java:
##########
@@ -141,25 +139,7 @@ private ElasticsearchConfig
getElasticsearchConfig(SinkInfo sinkInfo, Elasticsea
config.setUsername(esInfo.getUsername());
config.setPassword(esInfo.getPassword());
}
- config.setHost(esInfo.getHost());
- config.setPort(esInfo.getPort());
- // read from data node if not supplied by user
Review Comment:
These configs used here comes from `stream_sink` table, `stream_sink`
table data comes from the data node and saved. I think may be it's ok to use
directly here.
--
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]