Apart from HTTP based query endpoint, Pinot also supports gRPC endpoint in broker.
Enable GRPC query entrypoint in broker
Add gRPC port config in pinot broker to enable the BrokerGrpcServer:
pinot.broker.grpc.port=8010
if you want to enable TLS, then use below configs:
pinot.broker.grpc.tls.enabled=true
pinot.broker.grpc.tls.port=8020
// Server side TLS is used. The client does not present a certificate.
// The server only verifies the client’s connection via its own certificate and doesn’t validate the client’s identity via TLS.
// Common in public APIs, where only the server needs to be trusted.
pinot.broker.grpctls.client.auth.enabled=false
// Config TLS keystore and truststore
pinot.broker.grpctls.keystore.path=/home/pinot/tls-store/keystore-internal.jks
pinot.broker.grpctls.keystore.password=changeit
pinot.broker.grpctls.keystore.type=JKS
pinot.broker.grpctls.truststore.path=/home/pinot/tls-store/truststore.jks
pinot.broker.grpctls.truststore.password=changeit
pinot.broker.grpctls.truststore.type=JKS
Broker GRPC Clients
Below are the examples of usage for pinot-java-client and pinot-jdbc-client .