apisix icon indicating copy to clipboard operation
apisix copied to clipboard

request help: No grpc-proxy plugin found

Open passerbyabc opened this issue 6 years ago • 8 comments

Issue description

I can't find grpc-proxy on https://github.com/apache/apisix/tree/master/apisix/plugins, there are documents about it.

Environment

  • In the current master version source code
  • apisix version (cmd: apisix version):latest
  • OS: -

The plugin is not found in the docker version, so grpc plugin cannot be added in the management background.

passerbyabc avatar Sep 26 '20 12:09 passerbyabc

@membphis I created a new issue image

passerbyabc avatar Sep 26 '20 13:09 passerbyabc

grpc-proxy is not a plugin.entry is here: https://github.com/apache/apisix/blob/master/bin/apisix#L518

nic-chen avatar Sep 26 '20 13:09 nic-chen

If it is a grpc-web request, can it also be forwarded?

passerbyabc avatar Sep 26 '20 13:09 passerbyabc

Thanks, I thought it was a separate plugin. https://github.com/apache/apisix/blob/master/doc/zh-cn/grpc-proxy.md

passerbyabc avatar Sep 26 '20 13:09 passerbyabc

grpc-proxy is not a plugin.entry is here: https://github.com/apache/apisix/blob/master/bin/apisix#L518

Thanks!!!

passerbyabc avatar Sep 26 '20 13:09 passerbyabc

If it is a grpc-web request, can it also be forwarded?

sure, you could have a try.

nic-chen avatar Sep 26 '20 13:09 nic-chen

Okay, let me give feedback after testing.

passerbyabc avatar Sep 26 '20 13:09 passerbyabc

After actual measurement, grpc-web data forwarding is completely normal. Great, thanks to the apisix committers, it's really easy to use! image

passerbyabc avatar Sep 26 '20 13:09 passerbyabc