I have specified the following in application.yml to be picked up by the auto configuration:
r2dbc:
username: ${POSTGRES_USER}
password: ${POSTGRES_PASSWORD}
url: r2dbc:postgresql://${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}?currentSchema${POSTGRES_SCHEMA}&useUnicode=true&characterEncoding=UTF-8
When I start the Spring boot application I get the following exception at the log.
Unable to create a ConnectionFactory for 'ConnectionFactoryOptions{options={database=docshare, host=localhost, driver=postgresql, useUnicode=true, characterEncoding=UTF-8, password=REDACTED, port=5433, user=docshare-user}}'. Available drivers: [ pool ]