New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Improve]Added direct access to BE through the intranet #187
Conversation
flink-doris-connector/src/main/java/org/apache/doris/flink/cfg/DorisConnectionOptions.java
Outdated
Show resolved
Hide resolved
By the way, add the options of flink table, thanks |
flink-doris-connector/src/main/java/org/apache/doris/flink/cfg/DorisOptions.java
Show resolved
Hide resolved
flink-doris-connector/src/main/java/org/apache/doris/flink/sink/BackendUtil.java
Show resolved
Hide resolved
flink-doris-connector/src/main/java/org/apache/doris/flink/sink/BackendUtil.java
Outdated
Show resolved
Hide resolved
flink-doris-connector/src/main/java/org/apache/doris/flink/cfg/DorisOptions.java
Outdated
Show resolved
Hide resolved
and please also add options in databasesync , thanks |
Thanks for your suggestion, I have supported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Proposed changes
When the flink connector accesses DORIS, it parses out all surviving BE nodes according to the FE address filled in.
However, when the BE node is deployed, most of the internal network IP is filled in,so the BE node parsed by FE is the internal network IP. When flink is deployed on a non-intranet segment,the BE node will be inaccessible on the network.
In this pr, you can access the BE node on the intranet by directly configuring
DorisOptions.builder().setBenodes().build()
, after you configure this parameter, Flink Connector will not parse all BE nodes through FE nodes.
Problem Summary:
Describe the overview of changes.
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...