This is an automated email from the ASF dual-hosted git repository.

albumenj 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 f71a4ed27e [fix] gRPC 协议 (#1283)
f71a4ed27e is described below

commit f71a4ed27e46fcd2ff4e5edc9593efadfde3a183
Author: JIAN ZHONG <[email protected]>
AuthorDate: Sun Jul 24 11:32:26 2022 +0800

    [fix] gRPC 协议 (#1283)
---
 .../reference-manual/protocol/grpc/guide.md         | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git 
a/content/zh/docs3-v2/java-sdk/reference-manual/protocol/grpc/guide.md 
b/content/zh/docs3-v2/java-sdk/reference-manual/protocol/grpc/guide.md
index 9139650626..f045a82bb1 100644
--- a/content/zh/docs3-v2/java-sdk/reference-manual/protocol/grpc/guide.md
+++ b/content/zh/docs3-v2/java-sdk/reference-manual/protocol/grpc/guide.md
@@ -3,4 +3,23 @@ type: docs
 title: "使用说明"
 linkTitle: "使用说明"
 weight: 2
----
\ No newline at end of file
+---
+## 特性说明
+Dubbo 自 2.7.5 版本开始支持 gRPC 协议,对于计划使用 HTTP/2 通信,或者想利用 gRPC 带来的 
Stream、反压、Reactive 编程等能力的开发者来说,
+都可以考虑启用 gRPC 协议。
+
+#### 支持 gRPC 的好处
+* 为期望使用 gRPC 协议的用户带来服务治理能力,方便接入 Dubbo 体系
+* 用户可以使用 Dubbo 风格的,基于接口的编程风格来定义和使用远程服务
+
+## 使用场景
+## 使用方式
+#### 如何在 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/java/dubbo-samples-grpc/dubbo-samples-rxjava)、[Reactor](https://github.com/apache/dubbo-samples/tree/master/java/dubbo-samples-grpc/dubbo-samples-reactor)
 编程风格的 API。

Reply via email to