dockerzhang / incubator-inlong

Apache InLong - a one-stop data streaming platform
https://inlong.apache.org/
Apache License 2.0
0 stars 0 forks source link

[INLONG-141] Remove the requirement to provide localHostIP #141

Closed dockerzhang closed 3 years ago

dockerzhang commented 3 years ago

The initial requirement to provide localHostIP during initialization is because we have multiple network cards and multiple IPs in our environment. The initial implementation is to find the first IP from the specified NetworkInterface and report it, but It is found that sometimes the specified NetworkInterface is not configured with IP, so, we consider the user is required to provide a local IP:

After a period of use, the user feedback the API is cumbersome to use. The best way is to provide a configurable NetworkInterface API, so if the IP is not found, we can change the NetworkInterface.

JIRA link - [INLONG-141] created by gosonzhang