ilaotan opened a new issue, #10018: URL: https://github.com/apache/dubbo/issues/10018
<!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy --> - [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 3.0.7 * Operating System version: win11 * Java version: 1.8 ### Steps to reproduce this issue 使用dubbo的starter开启服务,当只设置 ` protocol: name: tri port: -1` 时, 从nacos中看到配置信息 ``` dubbo.metadata-service.url-params={"connections":"1","version":"1.0.0","dubbo":"2.0.2","release":"3.0.7","side":"provider","port":"20880","protocol":"dubbo"} dubbo.endpoints=[{"port":20880,"protocol":"dubbo"},{"port":50051,"protocol":"tri"}] ``` metadata-service默认给注册成dubbo协议了. 从DefaultExecutorRepository 类相关代码可跟踪到,会根据端口拿线程池, 20880端口拿到了线程池, 而50051的tri协议拿的时候,走了兜底的SharedExecutor 可以尝试添加属性 强制指定下来解决. `dubbo.application.metadata-service-protocol=tri` 希望能修复下,判断好了,metadata-service的协议类型 Pls. provide [GitHub address] to reproduce this issue. ### Expected Behavior <!-- What do you expect from the above steps?--> ### Actual Behavior <!-- What actually happens? --> If there is an exception, please attach the exception trace: ``` Just put your stack trace 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
