This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/master by this push:
new 6149d7f17ed improve reference doc: grpc (#1533)
6149d7f17ed is described below
commit 6149d7f17ed59a9325e80c0aecf49c0d335aad45
Author: JIAN ZHONG <[email protected]>
AuthorDate: Thu Sep 29 22:05:40 2022 +0800
improve reference doc: grpc (#1533)
---
content/zh/docs3-v2/java-sdk/reference-manual/protocol/grpc.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/content/zh/docs3-v2/java-sdk/reference-manual/protocol/grpc.md
b/content/zh/docs3-v2/java-sdk/reference-manual/protocol/grpc.md
index b1fe9c90c35..34af082802a 100644
--- a/content/zh/docs3-v2/java-sdk/reference-manual/protocol/grpc.md
+++ b/content/zh/docs3-v2/java-sdk/reference-manual/protocol/grpc.md
@@ -24,12 +24,12 @@ Dubbo 自 2.7.5 版本开始支持 gRPC 协议,对于计划使用 HTTP/2 通
- 网络受约束环境 - 二进制 gRPC 消息始终小于等效的基于文本的 JSON 消息。
## 使用方式
-#### 如何在 Dubbo 中使用 gRPC
+### 在 Dubbo 中使用 gRPC
[示例](https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-grpc)
-步骤:
+### 步骤
1. 使用 IDL 定义服务
2. 配置 compiler 插件,本地预编译
3. 配置暴露/引用 Dubbo 服务
-除了原生 StreamObserver 接口类型之外,Dubbo 还支持
[RxJava](https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-grpc/dubbo-samples-rxjava)、[Reactor](https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-grpc/dubbo-samples-reactor)
编程风格的 API。
+> 除了原生 StreamObserver 接口类型之外,Dubbo 还支持
[RxJava](https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-grpc/dubbo-samples-rxjava)、[Reactor](https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-grpc/dubbo-samples-reactor)
编程风格的 API。