Expose a config option for the connect timeout

Description

We forgot to expose an option to configure the timeout for the establishment of driver connections. Currently it uses Netty's default: 30 seconds.

Add an option (suggestion: advanced.connection.connect-timeout).
Use the same default as 3.x (5 seconds).
Set it on the Bootstrap in ChannelFactory.


If someone is blocked by this, there is a workaround using the driver's internal API:

Environment

None

Pull Requests

None

Assignee

Erik Merkle

Reporter

Olivier Michallat

Labels

None

PM Priority

None

Reproduced in

None

Affects versions

None

Fix versions

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Priority

Minor
Configure