ClickHouse/github-explorer

Enable gRPC

EpicStep opened this issue · 3 comments

Hi, can you enable gRPC api?

Currently it's not supported for the following reasons:

  • the server is behind proxy;
  • we need information about the original IP address to correctly calculate quotas;
  • so we use tcp_with_proxy_port in config instead of just tcp_port (see PROXYv1 protocol);
  • for HTTP, X-Forwarded-For is passed by proxy;
  • but there is no support for "GRPC with PROXYv1" protocol.

It means that first we should implement GRPC with PROXYv1 in ClickHouse.

My friends from Altinity has a mirror of this server that is not behind proxy.
I will ask, maybe they can enable GRPC.

Ok, thanks.