Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexStocks committed Jan 2, 2023
1 parent 781cb18 commit 08b1f77
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
* proxyless: give an proxyless service mesh example which shows how to deploy the dubbo-go services on kubernetes platform
* registry: show how to use etcd/nacos/polaris/zookeeper as dubbogo registry
* rpc: dubbo directory display dubbo protocol communication
* rpc/dubbo: dubbo-go 3.0 rpc example between Java and Go
* rpc/grpc: dubbo-go rpc example based on gRPC
* rpc/jsonrpc: dubbo-go rpc example based on json-rpc
* rpc/triple: dubbo-go rpc example based on hessian2/msgpack/pb(protobuf-v3)/pb2(protobuf-v2)/self-defined-serialization
* seata-go: A seata-go example
* skywalking: show how to integrate skywalking into dubbogo
* tls: use TLS encryption in getty(tcp)/triple/gRPC communication mode
Expand Down
4 changes: 4 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
* proxyless: 这个示例演示了如何将 dubbo-go 开发的应用部署在 Istio 体系下,以实现 Envoy 对 dubbo/dubbo-go 服务的自动代理
* registry: 把 etcd/nacos/polaris/zookeeper 当做 dubbogo 注册中心示例
* rpc: 使用 Dubbogo 框架启动 rpc 服务,发起调用
* rpc/dubbo: dubbo-go 3.0 RPC 通信示例,同时给出了 Java 和 Go 两种语言通信示例
* rpc/grpc: 基于 gRPC 的 RPC 通信示例
* rpc/jsonrpc: 基于json-rpc 的通信示例
* rpc/triple: 基于 hessian2/msgpack/pb(protobuf-v3)/pb2(protobuf-v2)/自定义序列化协议 的序列化协议与 triple 通信协议相结合的 RPC 示例
* seata-go: 在 dubbogo 中如何基于 seata-go 实现分布式事务
* skywalking: 整合 skywalking 与 dubbogo 的示例
* tls: getty(tcp)/triple/gRPC 全链路 tls 安全通信示例
Expand Down
9 changes: 5 additions & 4 deletions rpc/triple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ Triple is dubbo3.0 network protocol. You can refer to [dubbogo/triple](https://
- [codec-extension](./codec-extension): user defined serialization sample
- [hessian2](./hessian2): Hessian2 serialization sample
- [msgpack](./msgpack): Msgpack serialization sample
- [pb](./pb): ProtoBuf(PB) serialization sample
- [pb](./pb): ProtoBuf(PB) v3 serialization sample
- [dubbogo-grpc](./pb/dubbogo-grpc): Triple and gRPC interactive samples
- [dubbogo-java](./pb/dubbogo-java): Triple-java and Triple-go interactive samples
- [pb2](./pb2): ProtoBuf(PB) v2 serialization sample

## How to write configuration file

Expand All @@ -22,9 +23,9 @@ dubbo:
name: tri # protocol name, suppporting: tri/dubbo/grpc/jsonrpc
port: 20000 # port to export service

provider:
services:
MyProvider: # service provider type name
provider:
services:
MyProvider: # service provider type name
interface: org.apache.dubbogo.MyProvider # user defined interface name
# serialization: hessian2 # serialization that can be choosed:pb/hessian2/custome
# pb serialization by default
Expand Down
5 changes: 3 additions & 2 deletions rpc/triple/README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ Triple-go 3.0 版本的网络协议库。获取更多信息请查看 [dubbogo/tr
- [codec-extension](./codec-extension): 用户自定义序列化方式例子
- [hessian2](./hessian2): Hessian2 序列化方式例子
- [msgpack](./msgpack): Msgpack 序列化方式例子
- [pb](./pb): 使用 ProtoBuf(PB) 序列化方案的例子
- [pb](./pb): 使用 ProtoBuf(PB) v3 序列化方案的例子
- [dubbogo-grpc](./pb/dubbogo-grpc): Triple 和 gRPC 互通案例
- [dubbogo-java](./pb/dubbogo-java): Triple-java 和 Triple-go 互通案例
- [pb2](./pb2): 基于 protobuf v2 序列化协议与 triple 通信协议一个简单例子

## 如何配置

Expand All @@ -21,7 +22,7 @@ dubbo:
myProtocol: # 自定义一个协议 Key
name: tri # 协议名,支持tri/dubbo/grpc/jsonrpc
port: 20000 # 暴露端口
provider:
provider:
services:
MyProvider: # 服务提供者结构类名
interface: org.apache.dubbogo.MyProvider # 用户自定义的接口名
Expand Down

0 comments on commit 08b1f77

Please sign in to comment.