Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-13255

Mirrormaker config property config.properties.exclude is not working as expected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 3.2.0, 3.1.1
    • mirrormaker
    • None

    Description

      Objective - Use MM2 (kafka connect in distributed cluster) for data migration between cluster hosted in private data center and aws msk cluster.

      Steps performed -

      1. Started kafka-connect service.
      2. Created 3 MM2 connectors (i.e. source connector, checkpoint connector and heartbeat connector). Curl commands used to create connectors are in the attached file.  To exclude certain config properties while topic replication, we are using the 'config.properties.exclude' property in the MM2 source connector.

      Expected -

      Source topic 'dev.portlandDc.anamika.helloMsk' should be successfully created in destination cluster.

      Actual -

      Creation of the source topic 'dev.portlandDc.anamika.helloMsk' in destination cluster fails with an error. Error is

      [2021-08-06 06:13:40,944] WARN [mm2-msc|worker] Could not create topic dev.portlandDc.anamika.helloMsk. (org.apache.kafka.connect.mirror.MirrorSourceConnector:371)
      org.apache.kafka.common.errors.InvalidConfigurationException: Unknown topic config name: confluent.value.schema.validation

      Attachments

        Activity

          People

            bdesert Ed Berezitsky
            anadkarni Anamika Nadkarni
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: