title: Application.properties and r2dbc
body: <p>I use spring boot 2.2 with spring cloud Hoxton.SR1.</p>
  
  <p>I don't have any config class for my db. I only have an application.properties to setup database.</p>
  
  <p>In my application.properties, I have</p>
  
  <pre><code>spring.r2dbc.url=r2dbc:postgresql://localhost:5432/test
  spring.r2dbc.schema=mcm
  spring.r2dbc.username=test_user
  spring.r2dbc.password=zaA41"Vv8%q96@Y&gt;
  spring.r2dbc.pool.initial-size=100
  spring.r2dbc.pool.max-size=500
  spring.r2dbc.pool.max-idle-time=30m
  spring.r2dbc.pool.validation-query=SELECT
  </code></pre>
  
  <p>When I start application, </p>
  
  <p>I have this full stack
  <a href="https://pastebin.com/1714kMW2" rel="nofollow noreferrer">https://pastebin.com/1714kMW2</a></p>
  
  <p>In build.gradle</p>
  
  <pre><code>implementation 'org.springframework.boot:spring-boot-starter-security'
  implementation 'org.springframework.boot:spring-boot-starter-webflux'
  implementation 'org.springframework.cloud:spring-cloud-starter-config'
  implementation 'org.springframework.cloud:spring-cloud-starter-gateway'
  implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
  
  implementation 'org.springframework.boot.experimental:spring-boot-starter-data-r2dbc'
  
  runtimeOnly 'io.r2dbc:r2dbc-postgresql'
  runtimeOnly 'org.postgresql:postgresql'
  </code></pre>