Skip to content

Instantly share code, notes, and snippets.

@ehsaniara
Last active Dec 31, 2019
Embed
What would you like to do?
spring:
datasource-write:
driver-class-name: org.postgresql.Driver
jdbc-url: jdbc:postgresql://localhost:5432/demo
username: 'postgres'
password: 'postgres_user_for_db_write'
platform: postgresql
hikari:
idle-timeout: 10000
maximum-pool-size: 10
minimum-idle: 5
pool-name: WriteHikariPool
datasource-read:
driver-class-name: org.postgresql.Driver
jdbc-url: jdbc:postgresql://localhost:5433/demo
username: 'postgres'
password: 'postgres_user_for_db_read'
platform: postgresql
hikari:
idle-timeout: 10000
maximum-pool-size: 10
minimum-idle: 5
pool-name: ReadHikariPool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment