You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/10/24 09:57:47 UTC
[GitHub] [dubbo] liufeiyu1002 commented on issue #10795: spring boot dubbo 3.1.1 启动输出错误信息
liufeiyu1002 commented on issue #10795:
URL: https://github.com/apache/dubbo/issues/10795#issuecomment-1288763352
这个问题是由 我们指定了 protocol为 非 dubbo 协议
```dubbo:
application:
name: dubbo-springboot-demo-provider
#metadata-service-protocol: tri 指定metadata协议
protocol:
name: tri
registry:
id: zk-registry
address: zookeeper://127.0.0.1:2181
config-center:
address: zookeeper://127.0.0.1:2181
metadata-report:
address: zookeeper://127.0.0.1:2181
server:
port: 8181
```
且没有全局指定 `metadata-service-protocol` 配置,
metadata 会默认使用 dubbo协议

在后续获取 protocol 配置中 ,并没有找到dubbo类型的协议

即调用 optional.get 会抛出

--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org