-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.yml
61 lines (61 loc) · 1.65 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
51
52
53
54
55
56
57
58
59
60
61
spring:
datasource:
url: jdbc:postgresql://localhost:5432/checkout
username: admin
password: admin
driver-class-name: org.postgresql.Driver
hikari:
connection-test-query: select 1
jpa:
hibernate:
ddl-auto: create-drop
properties:
hibernate:
dialect: org.hibernate.dialect.PostgreSQLDialect
format_sql: true
show_sql: true
use_sql_comments: true
jdbc:
lob:
non_contextual_creation: true
cloud:
stream:
kafka:
binder:
autoCreateTopics: true
brokers: localhost:9092
bindings:
checkout-created-output:
destination: streaming.ecommerce.checkout.created
contentType: application/*+avro
producer:
use-native-encoding: true
payment-paid-input:
destination: streaming.ecommerce.payment.paid
contentType: application/*+avro
group: ${spring.application.name}
consumer:
use-native-decoding: true
kafka:
properties:
schema:
registry:
url: http://localhost:8081
specific:
avro:
reader: true
producer:
key-serializer: org.apache.kafka.common.serialization.StringSerializer
value-serializer: io.confluent.kafka.serializers.KafkaAvroSerializer
consumer:
key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
value-deserializer: io.confluent.kafka.serializers.KafkaAvroDeserializer
application:
name: checkout-api
server:
port: 8085
management:
endpoint:
health:
enabled: true
show-details: always