-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmm2-withoutdebug.yaml
61 lines (60 loc) · 1.89 KB
/
mm2-withoutdebug.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaMirrorMaker2
metadata:
name: my-mm2-cluster
namespace: kafka-test
spec:
clusters:
- alias: mirror1-cluster
bootstrapServers: 'my-cluster-a-kafka-bootstrap.kafka-test.svc.cluster.local:9092'
- alias: mirror2-cluster
bootstrapServers: 'my-cluster-b-kafka-bootstrap.kafka-test.svc.cluster.local:9092'
config:
config.storage.replication.factor: 1
# config.storage.topic: mm2-configs.my-cluster-a.internal
offset.storage.replication.factor: 1
# offset.storage.topic: mm2-offsets.my-cluster-a.internal
status.storage.replication.factor: 1
# status.storage.topic: mm2-status.my-cluster-a.internal
connectCluster: mirror2-cluster
# resources:
# requests:
# cpu: 500m
# memory: 0.5Gi
# limits:
# cpu: 500m
# memory: 0.5Gi
logging:
loggers:
connect.root.logger.level: DEBUG
type: inline
mirrors:
- checkpointConnector:
config:
checkpoints.topic.replication.factor: 1
emit.checkpoints.enabled: true
emit.checkpoints.interval.seconds: 10
refresh.groups.enabled: true
refresh.groups.interval.seconds: 10
sync.group.offsets.enabled: true
sync.group.offsets.interval.seconds: 10
groupsPattern: .*
heartbeatConnector:
config:
heartbeats.topic.replication.factor: 1
sourceCluster: mirror1-cluster
sourceConnector:
config:
offset-syncs.topic.replication.factor: 1
refresh.topics.enabled: true
replication.factor: 1
sync.topic.configs.enabled: true
tasks.max: 2
targetCluster: mirror2-cluster
topicsPattern: .*
replicas: 1
version: 2.7.0
logging:
type: inline
loggers:
connect.root.logger.level: "DEBUG"