Configuration options

Table 1. Optional configuration options
key type default value description

connect-timeout

Duration

PT10S

Socket connect timeout. Default is 10 seconds.

read-timeout

Duration

PT30S

Socket read timeout. Default is 30 seconds.

socket-keep-alive

boolean

true

Configure socket keep alive. Default is true.

See java.net.StandardSocketOptions.SO_KEEPALIVE

socket-receive-buffer-size

int

 

Socket receive buffer size.

See java.net.StandardSocketOptions.SO_RCVBUF

socket-reuse-address

boolean

true

Socket reuse address. Default is true.

See java.net.StandardSocketOptions.SO_REUSEADDR

socket-send-buffer-size

int

 

Socket send buffer size.

See java.net.StandardSocketOptions.SO_SNDBUF

tcp-no-delay

boolean

false

This option may improve performance on some systems. Default is false.

See java.net.StandardSocketOptions.TCP_NODELAY