-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.yaml
More file actions
58 lines (47 loc) · 1.24 KB
/
application.yaml
File metadata and controls
58 lines (47 loc) · 1.24 KB
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
spring:
application:
name: springwolf-example-local
cloud:
function:
definition: kafkaConsumer
stream:
kafka:
binder:
brokers: ${kafka.server}
bindings:
# PRODUCER
kafkaProducer-out-0:
destination: ${kafka.topics.simple-topic}
# CONSUMER
kafkaConsumer-in-0:
destination: ${kafka.topics.simple-topic}
group: spring-kafka-simple-group
springwolf:
enabled: ${SPRING_WOLF_ENABLED:true}
docket:
base-package: com.io.example
info:
title: "${spring.application.name}"
version: "1.0.0"
servers:
kafka:
protocol: kafka
host: ${kafka.server}
plugin:
kafka:
publishing:
enabled: ${SPRING_WOLF_ENABLED:true}
producer:
bootstrap-servers: ${kafka.server}
key-serializer: org.apache.kafka.common.serialization.StringSerializer
value-serializer: org.springframework.kafka.support.serializer.JsonSerializer
security:
protocol: PLAINTEXT
ui:
defaults:
show-bindings: true
show-headers: true
kafka:
topics:
simple-topic: ${KAFKA_SIMPLE_TOPIC:spring-kafka-simple-topic}
server: ${KAFKA_SERVER:localhost:9093}