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 f8da2001b01 Update thrift.md (#1537)
f8da2001b01 is described below
commit f8da2001b01843fe16cec0691bd8690dfeb8a76e
Author: JIAN ZHONG <[email protected]>
AuthorDate: Sat Oct 8 09:14:48 2022 +0800
Update thrift.md (#1537)
---
.../zh/docs3-v2/java-sdk/reference-manual/protocol/thrift.md | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/content/zh/docs3-v2/java-sdk/reference-manual/protocol/thrift.md
b/content/zh/docs3-v2/java-sdk/reference-manual/protocol/thrift.md
index 135b042bbb2..da1b2582c06 100644
--- a/content/zh/docs3-v2/java-sdk/reference-manual/protocol/thrift.md
+++ b/content/zh/docs3-v2/java-sdk/reference-manual/protocol/thrift.md
@@ -19,8 +19,7 @@ weight: 7
适用于 SOA 标准 RPC 框架。
## 使用方式
-
-#### 依赖
+### 依赖
从 Dubbo 3 开始,Thrift 协议已经不再内嵌在 Dubbo
中,需要单独引入独立的[模块](/zh/release/dubbo-spi-extensions/#dubbo-rpc)。
```xml
@@ -40,14 +39,14 @@ weight: 7
</dependency>
```
-所有服务共用一个端口:
+### 所有服务共用一个端口
-与原生Thrift不兼容
+与原生 Thrift 不兼容
```xml
<dubbo:protocol name="thrift" port="3030" />
```
[dubbo
项目中的示例代码](https://github.com/apache/dubbo/tree/master/dubbo-rpc/dubbo-rpc-thrift/src/test/java/org/apache/dubbo/rpc/protocol/thrift)
-#### 提示:
-* Thrift 不支持 null 值,即:不能在协议中传递 null 值
+
+> Thrift 不支持 null 值,即:不能在协议中传递 null 值