- SocketOptions (common.socket) Configuration
Configuration options
Optional configuration options
| key | type | default value | description |
|---|---|---|---|
connect-timeout | Duration | PT10S | Socket connect timeout. Default is 10 seconds. @return connect timeout duration |
read-timeout | Duration | PT30S | Socket read timeout. Default is 30 seconds. @return read timeout duration |
socket-keep-alive | boolean | true | Configure socket keep alive. Default is @return keep alive @see java.net.StandardSocketOptions#SO_KEEPALIVE |
socket-receive-buffer-size | int | 32768 | Socket receive buffer size. @return buffer size, in bytes @see java.net.StandardSocketOptions#SO_RCVBUF |
socket-reuse-address | boolean | true | Socket reuse address. Default is @return whether to reuse address @see java.net.StandardSocketOptions#SO_REUSEADDR |
socket-send-buffer-size | int | 32768 | Socket send buffer size. @return buffer size, in bytes @see java.net.StandardSocketOptions#SO_SNDBUF |
tcp-no-delay | boolean | false | This option may improve performance on some systems. Default is @return whether to use TCP_NODELAY, defaults to `false` @see java.net.StandardSocketOptions#TCP_NODELAY |