Class GrpcServerNettyConfig


  • public class GrpcServerNettyConfig
    extends Object
    • Field Detail

      • keepAliveTime

        @ConfigItem
        public Optional<Duration> keepAliveTime
        Sets a custom keep-alive duration. This configures the time before sending a `keepalive` ping when there is no read activity.
      • permitKeepAliveTime

        @ConfigItem
        public Optional<Duration> permitKeepAliveTime
        Sets a custom permit-keep-alive duration. This configures the most aggressive keep-alive time clients are permitted to configure. The server will try to detect clients exceeding this rate and when detected will forcefully close the connection.
        See Also:
        permitKeepAliveWithoutCalls
      • permitKeepAliveWithoutCalls

        @ConfigItem
        public Optional<Boolean> permitKeepAliveWithoutCalls
        Sets whether to allow clients to send keep-alive HTTP/2 PINGs even if there are no outstanding RPCs on the connection.
    • Constructor Detail

      • GrpcServerNettyConfig

        public GrpcServerNettyConfig()