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

Improve MirrorMaker logging in case of authorization errors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.8.0
    • mirrormaker
    • None

    Description

      In case MirrorMaker is missing DESCRIBE_CONFIGS on the source cluster, all youget in the logs are lines like:

      2023-09-27 11:56:54,989 ERROR [my-cluster-source->my-cluster-target.MirrorSourceConnector|worker] Scheduler for MirrorSourceConnector caught exception in scheduled task: refreshing topics (org.apache.kafka.connect.mirror.Scheduler) [Scheduler for MirrorSourceConnector-refreshing topics]
      java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TopicAuthorizationException: Topic authorization failed.
      

      It would be good to report the exact call that failed and include the cluster as well to make it easy to figure out which permissions are missing.

      Attachments

        Issue Links

          Activity

            People

              javakillah Dmitry Werner
              mimaison Mickael Maison
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: