With this application.yaml ...
spring:
r2dbc:
url: "..."
pool:
initial-size: 5
validation-query: "SELECT 1"
the actual R2dbcProperties.pool
fields are not bound. (all values remains as defaults)
tested spring boot versions: 2.3.2.RELEASE
, 2.3.3.RELEASE
Comment From: snicoll
@serajin00 thanks for the report but this is covered by unit tests and pasting your config works for me. That is also the problem with a sample in text, they only show part of the story. If you want support, please take the time to build a small sample that demonstrates the problem you've described (in the form of zip or a repo on GitHub).
Comment From: serajin00
@snicoll apologize for inaccurate information. Issue found out that cause was IntelliJ debugger's problem. 'Run debugger' was not triggering 'Build' so the built yaml resources was not changed. After 'Invalidate Caches/Restart' all problem fixed.
Anyway... I made a new test, and no problems found. https://github.com/serajin00/r2dbc-properties
May I close this issue?
Comment From: snicoll
Thanks for letting us know.