BustDot opened a new issue, #12319:
URL: https://github.com/apache/apisix/issues/12319

   ### Description
   
   Currently I want to send http request to apisix and keep the client 
receiving update in http format from grpc server, which can achieve SSE-like 
function. Is it possible for grpc-transcode plugin to handle grpc stream? e.g.:
   ```
   syntax = "proto3";
   
   package helloworld;
   option go_package = "./proto";
   
   service Greeter {
     // Unary RPC.
     rpc SayHello (HelloRequest) returns (HelloReply) {}
     rpc GetErrResp (HelloRequest) returns (HelloReply) {}
     rpc Plus (PlusRequest) returns (PlusReply) {}
     rpc SayHelloAfterDelay (HelloRequest) returns (HelloReply) {}
   
     // Server side streaming.
     rpc SayHelloServerStream (HelloRequest) returns (stream HelloReply) {}
   
     // Client side streaming.
     rpc SayHelloClientStream (stream HelloRequest) returns (HelloReply) {}
   
     // Bidirectional streaming.
     rpc SayHelloBidirectionalStream (stream HelloRequest) returns (stream 
HelloReply) {}
   }
   
   enum Gender {
       GENDER_UNKNOWN = 0;
       GENDER_MALE = 1;
       GENDER_FEMALE = 2;
   }
   
   message Person {
       string name = 1;
       int32 age = 2;
   }
   
   message HelloRequest {
     string name = 1;
     repeated string items = 2;
     Gender gender = 3;
     Person person = 4;
   }
   
   message HelloReply {
     string message = 1;
     repeated string items = 2;
     Gender gender = 3;
   }
   
   message PlusRequest {
     int64 a = 1;
     int64 b = 2;
   }
   
   message PlusReply {
     int64 result = 1;
   }
   
   message ErrorDetail {
     int64 code = 1;
     string message = 2;
     string type = 3;
   }
   ```
   This is the example proto file from 
https://github.com/api7/grpc_server_example/blob/master/proto/helloworld.proto. 
How to configure APISIX to make it handle the SayHelloServerStream rpc?
   
   ### Environment
   
   - APISIX version (run `apisix version`): 3.12.0
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to