Package io.quarkus.grpc.runtime.config
Class GrpcServerNettyConfig
- java.lang.Object
-
- io.quarkus.grpc.runtime.config.GrpcServerNettyConfig
-
public class GrpcServerNettyConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Optional<Duration>keepAliveTimeSets a custom keep-alive duration.Optional<Duration>permitKeepAliveTimeSets a custom permit-keep-alive duration.Optional<Boolean>permitKeepAliveWithoutCallsSets whether to allow clients to send keep-alive HTTP/2 PINGs even if there are no outstanding RPCs on the connection.
-
Constructor Summary
Constructors Constructor Description GrpcServerNettyConfig()
-
-
-
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.
-
-