You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/06/07 08:47:30 UTC

[GitHub] [apisix] younglifestyle commented on issue #7186: help request: grpc-transcode not work

younglifestyle commented on issue #7186:
URL: https://github.com/apache/apisix/issues/7186#issuecomment-1148381236

   proto file :
   ![image](https://user-images.githubusercontent.com/19261307/172337448-3bf644d3-120e-44c2-8c16-91508ff5cedc.png)
   
   create route:
   ```
   curl http://127.0.0.1:9080/apisix/admin/routes/111 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "methods": ["GET"],
       "uri": "/grpctest",
       "plugins": {
           "grpc-transcode": {
               "proto_id": "1",
               "service": "helloworld.Greeter",
               "method": "SayHello"
           }
       },
       "upstream": {
           "scheme": "grpc",
           "type": "roundrobin",
           "nodes": {
               "10.2.33.4:50051": 1
           }
       }
   }'
   ```
   above is my configuration


-- 
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-unsubscribe@apisix.apache.org

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