mirror of
https://github.com/Dannecron/spring-boot-demo.git
synced 2025-12-25 16:22:35 +03:00
27 lines
795 B
YAML
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
|