不支持triple协议吗? 试了下,不大兼容
- [x] I have searched the issues of this repository and believe that this is not a duplicate.
- [x] I have checked the REAMDE of this repository and believe that this is not a duplicate.
Environment
- Dubbo Admin version: 0.4.0
- Registry center detail (type and version): nacos 2.0.3
- Operating System version: win10
- Java version: 8
Steps to reproduce this issue
Pls. provide [GitHub address] to reproduce this issue.
Expected Result
What do you expected from the above steps?
Actual Result
What actually happens?
If there is an exception, please attach the exception trace:
Just put your stack trace here!
你是说服务测试的时候不支持 triple 协议吗?
现在默认是 dubbo 协议, 可以将 protocol 做为参数传递, 泛化调用的时候设置protocol 如: reference.setProtocol("tri");
支持 triple 还需要引入 protobuf-java 。
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</dependency>
Triple 服务测试需要统一支持下,包括 go /java 和其他语言的客户端,建议的方式是内置获取元数据的接口,统一命令行或web页面的测试方式,可以参考 grpcurl 和 grpc-ui
现在默认是
dubbo协议, 可以将protocol做为参数传递, 泛化调用的时候设置protocol如:reference.setProtocol("tri");支持triple还需要引入protobuf-java。<dependency> <groupId>com.google.protobuf</groupId> <artifactId>protobuf-java</artifactId> </dependency>
我按照这个方式测试了,还是不可行,我认为应该是org.apache.dubbo.common.serialize.Serialization这个spi扩展文件中缺少protobuf的序列化方式有关,2.x版本中是存在的,具体报错信息如下: No such extension org.apache.dubbo.common.serialize.Serialization by name protobuf, no related exception was found, please check whether related SPI module is missing.
Triple 服务测试需要统一支持下,包括 go /java 和其他语言的客户端,建议的方式是内置获取元数据的接口,统一命令行或web页面的测试方式,可以参考 grpcurl 和 grpc-ui
good idea !
@habertzk 可以提供一下 dubbo-admin 和 dubbo 的版本吗,我使用 admin develop 分支和 dubbo 3.0.8 是可以工作的.
@habertzk 可以提供一下 dubbo-admin 和 dubbo 的版本吗,我使用 admin develop 分支和 dubbo
3.0.8是可以工作的.
dubbo-admin 0.4.0 dubbo 3.0.6