Package org.apache.pinot.common.config
Class GrpcConfig
- java.lang.Object
-
- org.apache.pinot.common.config.GrpcConfig
-
public class GrpcConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIG_MAX_INBOUND_MESSAGE_BYTES_SIZEstatic StringCONFIG_USE_PLAIN_TEXTstatic intDEFAULT_MAX_INBOUND_MESSAGE_BYTES_SIZEstatic StringGRPC_TLS_PREFIX
-
Constructor Summary
Constructors Constructor Description GrpcConfig(int maxInboundMessageSizeBytes, boolean usePlainText)GrpcConfig(Map<String,Object> configMap)GrpcConfig(PinotConfiguration pinotConfig)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GrpcConfigbuildGrpcQueryConfig(PinotConfiguration pinotConfig)Objectget(String key)intgetMaxInboundMessageSizeBytes()PinotConfigurationgetPinotConfig()TlsConfiggetTlsConfig()booleanisUsePlainText()
-
-
-
Field Detail
-
GRPC_TLS_PREFIX
public static final String GRPC_TLS_PREFIX
- See Also:
- Constant Field Values
-
CONFIG_USE_PLAIN_TEXT
public static final String CONFIG_USE_PLAIN_TEXT
- See Also:
- Constant Field Values
-
CONFIG_MAX_INBOUND_MESSAGE_BYTES_SIZE
public static final String CONFIG_MAX_INBOUND_MESSAGE_BYTES_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_MAX_INBOUND_MESSAGE_BYTES_SIZE
public static final int DEFAULT_MAX_INBOUND_MESSAGE_BYTES_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GrpcConfig
public GrpcConfig(PinotConfiguration pinotConfig)
-
GrpcConfig
public GrpcConfig(int maxInboundMessageSizeBytes, boolean usePlainText)
-
-
Method Detail
-
buildGrpcQueryConfig
public static GrpcConfig buildGrpcQueryConfig(PinotConfiguration pinotConfig)
-
getMaxInboundMessageSizeBytes
public int getMaxInboundMessageSizeBytes()
-
isUsePlainText
public boolean isUsePlainText()
-
getTlsConfig
public TlsConfig getTlsConfig()
-
getPinotConfig
public PinotConfiguration getPinotConfig()
-
-