Configuration options

Table 1. Optional configuration options
key type default value description

connect-timeout

Duration

PT10S

Connect timeout. Default is DEFAULT_CONNECT_TIMEOUT_DURATION.

keep-alive

boolean

true

Configure socket keep alive. Default is true.

See java.net.StandardSocketOptions.SO_KEEPALIVE

read-timeout

Duration

PT30S

Read timeout. Default is DEFAULT_READ_TIMEOUT_DURATION

receive-buffer-size

int

32768

Socket receive buffer size. Default is DEFAULT_SO_BUFFER_SIZE.

See java.net.StandardSocketOptions.SO_RCVBUF

reuse-address

boolean

true

Socket reuse address. Default is true.

See java.net.StandardSocketOptions.SO_REUSEADDR

send-buffer-size

int

32768

Socket send buffer size. Default is DEFAULT_SO_BUFFER_SIZE.

See java.net.StandardSocketOptions.SO_SNDBUF

tcp-no-delay

boolean

false

Disable Nagle’s algorithm by setting TCP_NODELAY to true. This can result in better performance on Mac or newer linux kernels for some payload types. Default is false.

See java.net.StandardSocketOptions.TCP_NODELAY