Made the polling-interval configurable
[demos/kafka/outbox] / delivery / src / main / resources / application.yml
1 management:
2   endpoints:
3     web:
4       exposure:
5         include: "*"
6
7 spring:
8   flyway:
9     locations: classpath:db/migration/h2
10
11 de:
12   juplo:
13     kafka:
14       outbox:
15         interval: 500
16
17 logging:
18   level:
19     de:
20       juplo:
21         kafka:
22           outbox: DEBUG
23
24 ---
25
26 spring:
27   profiles: prod
28
29   datasource:
30     url: jdbc:postgresql://postgres:5432/outbox
31     username: outbox
32     password: outbox
33   flyway:
34     locations: classpath:db/migration/postgres
35
36 de:
37   juplo:
38     kafka:
39       outbox:
40         bootstrap-servers: kafka:9093
41
42 ---
43
44 spring:
45   profiles: dev
46
47   datasource:
48     url: jdbc:postgresql://localhost:5432/outbox
49     username: outbox
50     password: outbox
51   flyway:
52     locations: classpath:db/migration/postgres
53
54 de:
55   juplo:
56     kafka:
57       outbox:
58         bootstrap-servers: localhost:9092
59         interval: 2000
60