You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -137,11 +162,20 @@ strResp, ok := resp.(string) // response is json string
137
162
138
163
### Server Streaming
139
164
140
-
Note: A non-nil error (including `io.EOF`) returned by `Recv` indicates that the server has finished sending (or encountered an error)
165
+
Note: An `io.EOF` error returned by `Recv` indicates that the server has finished sending and normally closed the stream, while other non-nil errors indicate actual errors.
141
166
142
167
Example:
143
168
144
169
```go
170
+
import (
171
+
"context"
172
+
"fmt"
173
+
"io"
174
+
175
+
"github.com/cloudwego/kitex/client/genericclient"
176
+
"github.com/cloudwego/kitex/pkg/klog"
177
+
)
178
+
145
179
// initialize server streaming client using the streaming client you created, and send a message
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).
234
284
235
-
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.
Use the following branch to solve it and wait for the official release of Kitex v1.18.1 to fix this issue.
299
+
Use Kitex v0.13.1 or higher version to fix this issue. Kitex v0.13.1 was released in April 2025 ([See release notes](https://github.com/cloudwego/kitex/releases/tag/v0.13.1)):
250
300
251
301
```shell
252
-
go get -u github.com/cloudwego/kitex@v0.12.1-0.20241220085925-b5894d2f9e0c
0 commit comments