Contains the configuration necessary to connect to a database.
- Value Params
- allocator
the netty buffer allocator to be used
- charset
charset for the connection, defaults to UTF-8, make sure you know what you are doing if you change this
- connectTimeout
the timeout for connecting to servers
- database
database name, defaults to no database
- host
database host, defaults to "localhost"
- maximumMessageSize
the maximum size a message from the server could possibly have, this limits possible OOM or eternal loop attacks the client could have, defaults to 16 MB. You can set this to any value you would like but again, make sure you know what you are doing if you do change it.
- password
password, defaults to no password
- port
database port, defaults to 5432
- queryTimeout
the optional query timeout
- ssl
ssl configuration
- testTimeout
the timeout for connection tests performed by pools
- username
database username
- Companion
- object