Class GrpcServerNettyConfig

java.lang.Object
io.quarkus.grpc.runtime.config.GrpcServerNettyConfig

public class GrpcServerNettyConfig extends Object
  • Field Details

    • 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

      @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 Details

    • GrpcServerNettyConfig

      public GrpcServerNettyConfig()