Class GrpcServerConfiguration


  • public class GrpcServerConfiguration
    extends Object
    • Field Detail

      • useSeparateServer

        @ConfigItem(defaultValue="true")
        public boolean useSeparateServer
        Do we use separate HTTP server to serve gRPC requests. Set this to false if you want to use new Vert.x gRPC support, which uses existing Vert.x HTTP server.
      • maxInboundMessageSize

        @ConfigItem
        public OptionalInt maxInboundMessageSize
        The max inbound message size in bytes.
      • maxInboundMetadataSize

        @ConfigItem
        public OptionalInt maxInboundMetadataSize
        The max inbound metadata size in bytes
      • plainText

        @ConfigItem(defaultValue="true")
        public boolean plainText
        Disables SSL, and uses plain text instead. If disabled, configure the ssl configuration.
      • enableReflectionService

        @ConfigItem(defaultValue="false")
        public boolean enableReflectionService
        Enables the gRPC Reflection Service. By default, the reflection service is only exposed in `dev` mode. This setting allows overriding this choice and enable the reflection service every time.
      • instances

        @ConfigItem(defaultValue="1")
        public int instances
        Number of gRPC server verticle instances. This is useful for scaling easily across multiple cores. The number should not exceed the amount of event loops.
    • Constructor Detail

      • GrpcServerConfiguration

        public GrpcServerConfiguration()