Files
spring-boot-demo/src/main/resources/application.yml
2024-10-02 18:16:51 +07:00

27 lines
795 B
YAML

---
spring:
application:
name: Demo
datasource:
url: jdbc:postgresql://localhost:5432/demo?currentSchema=public
username: postgres
password: postgres
driver-class-name: org.postgresql.Driver
hikari:
schema: public
flyway: #flyway automatically uses the datasource from the application to connect to the DB
enabled: true # enables flyway database migration
locations: classpath:db/migration/structure, classpath:db/migration/data # the location where flyway should look for migration scripts
validate-on-migrate: true
default-schema: public
kafka:
bootstrap-servers: localhost:9095
producer:
product:
default-sync-topic: demo-product-sync
consumer:
group-id: demo-consumer
topics: demo-city-sync
auto-startup: true