X-Git-Url: https://juplo.de/gitweb/?p=demos%2Fkafka%2Foutbox;a=blobdiff_plain;f=outbox%2Fsrc%2Fmain%2Fresources%2Fapplication.yml;fp=outbox%2Fsrc%2Fmain%2Fresources%2Fapplication.yml;h=2a8502a1414eb0997a07ff40ad62f76df7fb39ad;hp=0000000000000000000000000000000000000000;hb=996911bbed45e0211e48976e3cb3971631361e5b;hpb=64251b8eafa2534c359e8e2fc243c17b5a97a61a diff --git a/outbox/src/main/resources/application.yml b/outbox/src/main/resources/application.yml new file mode 100644 index 0000000..2a8502a --- /dev/null +++ b/outbox/src/main/resources/application.yml @@ -0,0 +1,53 @@ +management: + endpoints: + web: + exposure: + include: "*" + +spring: + flyway: + locations: classpath:db/migration/h2 + +logging: + level: + de: + juplo: + kafka: + outbox: DEBUG + +--- + +spring: + profiles: prod + + datasource: + url: jdbc:postgresql://postgres:5432/outbox + username: outbox + password: outbox + flyway: + locations: classpath:db/migration/postgres + +de: + juplo: + kafka: + outbox: + bootstrap-servers: kafka:9093 + +--- + +spring: + profiles: dev + + datasource: + url: jdbc:postgresql://localhost:5432/outbox + username: outbox + password: outbox + flyway: + locations: classpath:db/migration/postgres + +de: + juplo: + kafka: + outbox: + bootstrap-servers: localhost:9092 +