Spring Boot 2.4.4

Please provide a way to set the R2DBC socket config instead of the url.

Comment From: snicoll

@jamesward The socket option is not part of the spec but specific to the postgres driver. We can't add a top-level option that's specific to one database.

There are a number of mechanisms you can use right now to configure the socket. The URL of course, spring.r2dbc.properties.* but also the customizer callback, see the reference guide.

Comment From: jamesward

Ah. Thanks so much for the helpful response!

Comment From: mp911de

Alternatively, you can use spring.r2dbc.url=spring.r2dbc.url=r2dbc:postgres:///<database>?socket=/tmp/.s.PGSQL.5432