Skip to content

Commit 83baf44

Browse files
committed
docs(kitex): capitalize Protobuf in both Chinese and English streaming documents
1 parent 9196a2c commit 83baf44

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

content/en/docs/kitex/Tutorials/advanced-feature/generic-call/generic_streaming.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ description: ""
1414

1515
### Generic Streaming Client Initialization
1616

17-
#### protobuf
17+
#### Protobuf
1818

1919
Take the following Protobuf IDL as an example:
2020

@@ -280,17 +280,17 @@ strResp, ok := resp.(string) // response is json string
280280

281281
### Recv() got err: rpc error: code = 12 desc = Method not found!
282282

283-
This error occurs when calling with Kitex **protobuf** generic streaming when the downstream is **gRPC-python** (gRPC libraries for other languages may also have this problem).
283+
This error occurs when calling with Kitex **Protobuf** generic streaming when the downstream is **gRPC-python** (gRPC libraries for other languages may also have this problem).
284284

285-
The root cause is that Kitex does not parse the package in the protobuf idl, so the package part of `:path` in the gPRC request is missing, and gRPC-python can't find the corresponding method.
285+
The root cause is that Kitex does not parse the package in the Protobuf IDL, so the package part of `:path` in the gPRC request is missing, and gRPC-python can't find the corresponding method.
286286

287287
e.g.
288288

289289
- normal client
290290

291291
`:path` - /search.gpt_engine.GPTStreamService/GPTGeneration
292292

293-
- protobuf generic client
293+
- Protobuf generic client
294294

295295
`:path` - /GPTStreamService/GPTGeneration
296296

content/zh/docs/kitex/Tutorials/advanced-feature/generic-call/generic_streaming.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ description: ""
1414

1515
### 泛化流式客户端初始化
1616

17-
#### protobuf
17+
#### Protobuf
1818

1919
以如下 Protobuf IDL 为例:
2020

@@ -294,17 +294,17 @@ strResp, ok := resp.(string) // 响应为 json 字符串
294294

295295
### Recv() got err: rpc error: code = 12 desc = Method not found!
296296

297-
该错误出现在 Kitex **protobuf** 泛化流式调用下游为 **gRPC-python**(或其他语言 gRPC 库)时。
297+
该错误出现在 Kitex **Protobuf** 泛化流式调用下游为 **gRPC-python**(或其他语言 gRPC 库)时。
298298

299-
根因是 Kitex 没有解析 protobuf idl 的 package,导致 gRPC 请求的 `:path` 缺少 package 部分,gRPC-python 找不到对应方法。
299+
根因是 Kitex 没有解析 Protobuf IDL 的 package,导致 gRPC 请求的 `:path` 缺少 package 部分,gRPC-python 找不到对应方法。
300300

301301
例如:
302302

303303
- 普通客户端
304304

305305
`:path` - /search.gpt_engine.GPTStreamService/GPTGeneration
306306

307-
- protobuf 泛化客户端
307+
- Protobuf 泛化客户端
308308

309309
`:path` - /GPTStreamService/GPTGeneration
310310

0 commit comments

Comments
 (0)