-
Notifications
You must be signed in to change notification settings - Fork 65
/
java-kafka-streams.yaml
36 lines (36 loc) · 1.06 KB
/
java-kafka-streams.yaml
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
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: java-kafka-streams
name: java-kafka-streams
spec:
replicas: 1
selector:
matchLabels:
app: java-kafka-streams
template:
metadata:
labels:
app: java-kafka-streams
spec:
containers:
- name: java-kafka-streams
image: quay.io/strimzi-examples/java-kafka-streams:latest
env:
- name: STRIMZI_SOURCE_TOPIC
value: my-topic
- name: STRIMZI_TARGET_TOPIC
value: cipot-ym
- name: STRIMZI_LOG_LEVEL
value: "INFO"
- name: KAFKA_BOOTSTRAP_SERVERS
value: my-cluster-kafka-bootstrap:9092
- name: KAFKA_APPLICATION_ID
value: java-kafka-streams
- name: KAFKA_DEFAULT_COMMIT_INTERVAL_MS
value: "5000"
- name: KAFKA_DEFAULT_KEY_SERDE
value: "org.apache.kafka.common.serialization.Serdes$StringSerde"
- name: KAFKA_DEFAULT_VALUE_SERDE
value: "org.apache.kafka.common.serialization.Serdes$StringSerde"