jiangy opened a new issue, #2060:
URL: https://github.com/apache/dubbo-go/issues/2060

   <!-- Please only use this template for submitting enhancement requests -->
   
   **What would you like to be added**:
   
   nacosRegistry 和 polarisRegistry 支持通过环境变量 
DUBBO_IP_TO_REGISTRY、DUBBO_PORT_TO_REGISTRY 指定向注册中心注册的 IP 和端口
   
   **Why is this needed**:
   
   dubbo 可以通过环境变量 DUBBO_IP_TO_REGISTRY、DUBBO_PORT_TO_REGISTRY 指定向注册中心注册的 IP 
和端口,以支持当应用运行在 docker 容器中时注册宿主机 IP 
和端口以实现外网通信,文档:(https://dubbo.apache.org/zh/docsv2.7/user/examples/set-host/)[https://dubbo.apache.org/zh/docsv2.7/user/examples/set-host/]。
   
   当前 dubbogo 中几个 registry 的实现中 BaseRegistry 
已经支持这两个环境变量,serviceDiscoveryRegistry 和 xdsRegistry 从代码看没有用到 IP 
和端口,nacosRegistry 和 polarisRegistry 目前还不支持,因此需要这两个 registry 实现支持


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to