Mirror Maker2 Target cluster Topic was created successfully but has no data #6522
Unanswered
xinggengchang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My mirror maker2 is not working and the target cluster topic was successfully created but has no data.
The first migration succeeded, but failed after the configuration was updated(original cluster and target cluster are updated)
Can anyone help me?
mirror.yml
`apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaMirrorMaker2
metadata:
name: strimzi-4497-kafka-mirror
labels:
app: strimzi-4497-kafka-mirror
spec:
version: 2.7.0
replicas: 3
connectCluster: "my-cluster-target"
clusters:
bootstrapServers: bootstrap-4426.strimzi.kafka.mid:443
tls:
trustedCertificates:
certificate: ca.crt
bootstrapServers: bootstrap-4498.strimzi.kafka.mid:443
tls:
trustedCertificates:
certificate: ca.crt
mirrors:
targetCluster: "my-cluster-target"
sourceConnector:
config:
sync.topic.acls.enabled: "false"
checkpointConnector:
config:
checkpoints.topic.replication.factor: 1
emit.checkpoints.interval.seconds: 10
refresh.groups.interval.seconds: 30
sync.group.offsets.enabled: "true"
sync.group.offsets.interval.seconds: 10
heartbeatConnector:
config:
heartbeats.topic.replication.factor: 3
topicsPattern: "new-1"
groupsPattern: ".*"
metricsConfig:
type: jmxPrometheusExporter
valueFrom:
configMapKeyRef:
name: mirror-maker-2-metrics
key: metrics-config.yml
resources:
requests:
cpu: "500m"
memory: 512Mi
limits:
cpu: "4"
memory: 8Gi
jvmOptions:
"-Xmx": "8g"
"-Xms": "512m"
template:
pod:
metadata:
labels:
app: 4497`
Beta Was this translation helpful? Give feedback.
All reactions