Kafka mirror maker2 strimzi

apiVersion: kafka.strimzi.io/v1alpha1
kind: KafkaMirrorMaker2
metadata:
  name: mm
spec:
  version: 2.4.0
  replicas: 1
  resources:
    limits:
      memory: 4Gi
  connectCluster: "hz"
  clusters:
  - alias: "aws"
    bootstrapServers: kafka-prod-kafka-brokers:9092
  - alias: "hz"
    bootstrapServers: a965abe1ed1fb4c12b733c9cd0bf619a-2096657965.eu-central-1.elb.amazonaws.com:9094
    config:
      config.storage.replication.factor: 1
      offset.storage.replication.factor: 1
      status.storage.replication.factor: 1
  mirrors:
  - sourceCluster: "aws"
    targetCluster: "hz"
    sourceConnector:
      config:
        replication.factor: 1
        offset-syncs.topic.replication.factor: 1
        sync.topic.acls.enabled: "false"
        producer.buffer.memory: 160000720
    heartbeatConnector:
      config:
        heartbeats.topic.replication.factor: 1
    checkpointConnector:
      config:
        checkpoints.topic.replication.factor: 1
    topicsPattern: ".*"
    groupsPattern: ".*"
Без рубрики

Related Articles

0 Comment