forked from vagabond-systems/forage-midas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication.yml
50 lines (42 loc) · 1.22 KB
/
application.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
server:
port: 8080
spring:
profiles:
active: dev
application:
name: midas-core-application
datasource:
url: jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
driver-class-name: org.h2.Driver
username: sa
password:
initialization-mode: always
jpa:
hibernate:
ddl-auto: update
show-sql: true
database-platform: org.hibernate.dialect.H2Dialect
kafka:
bootstrap-servers: localhost:8080
producer:
key-serializer: org.apache.kafka.common.serialization.StringSerializer
value-serializer: org.springframework.kafka.support.serializer.JsonSerializer
consumer:
group-id: transaction-group
auto-offset-reset: earliest
key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
value-deserializer: org.apache.kafka.common.serialization.ByteArrayDeserializer
properties:
spring.json.trusted.packages: "com.jpmc.midascore"
topic:
default: ${general.kafka-topic}
h2:
console:
enabled: true
path: /h2-console # Access H2 at http://localhost:8080/h2-console
logging:
level:
root: INFO
org.springframework.kafka: DEBUG # Enables Kafka-specific logs
general:
kafka-topic: default