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

MirrorMaker2 fails to update its runtime configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 3.7.0, 3.6.2
    • mirrormaker
    • None

    Description

      I was running successfully the MM2 cluster with the following configuration, I simplified it a little:

       clusters = main, backup main.bootstrap.servers = kafkaA:9202,kafkaB:9092,kafkaB:9092 backup.bootstrap.servers = backupA:9092,backupB:9092,backupC:9092 main->backup.enabled = true main->backup.topics = .*

      I wanted to change the bootstrap.address list of the destination cluster to a different list that is pointing to the same cluster, just a different listener with a different routing. So I changed it to:

       backup.bootstrap.servers = backupSecA:1234,backupSecB:1234,backupSecC:1234

      I did a rolling restart on the MM2 nodes and say that some tasks were still using the old bootstrap addresses, some of them were using the new one. I don't have the logs, so unfortunately I don't know which one picked up the good values and which didn't. I even stopped the cluster completely, but it didn't help. Ryanne adviced to delete the mm2-config and mm2-status topics, so I did delete those on the destination cluster, that solved this issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sinitw Peter Sinoros-Szabo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: