Enable gRPC
EpicStep opened this issue · 3 comments
EpicStep commented
Hi, can you enable gRPC api?
alexey-milovidov commented
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 justtcp_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.
alexey-milovidov commented
My friends from Altinity has a mirror of this server that is not behind proxy.
I will ask, maybe they can enable GRPC.
EpicStep commented
Ok, thanks.