forked from acryldata/datahub-helm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mae-consumers.yaml
42 lines (38 loc) · 974 Bytes
/
mae-consumers.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
37
38
39
40
41
# mae-consumer.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: mae-consumer
spec:
replicas: 1
selector:
matchLabels:
app: mae-consumer
template:
metadata:
labels:
app: mae-consumer
spec:
containers:
- name: mae-consumer
image: <mae-consumer-image>:<version> # Replace with the appropriate image and version
env:
- name: KAFKA_BROKER
value: PLAINTEXT://kafka-service:9092,PLAINTEXT_HOST://localhost:9092 # Specify the Kafka broker URL
- name: GROUP_ID
value: "<consumer-group-id>" # Specify the consumer group ID
- name: SCHEMA_REGISTRY_URL
value: "<schema-registry-url>" # Specify the Schema Registry URL
# Add other necessary environment variables
---
apiVersion: v1
kind: Service
metadata:
name: mae-consumer-service
spec:
selector:
app: mae-consumer
ports:
- protocol: TCP
port: 8080
targetPort: 8080