"org.apache.kafka.common.errors.SecurityDisabledException: No Authorizer is configured on the broker" error occurs in MirrorMaker2

Solution Verified - Updated -

Issue

  • "org.apache.kafka.common.errors.SecurityDisabledException: No Authorizer is configured on the broker" error occurs in MirrorMaker2
2022-07-20 10:50:44,628 ERROR [my-cluster-source->my-cluster-target.MirrorSourceConnector|worker] Scheduler for MirrorSourceConnector caught exception in scheduled task: syncing topic ACLs (org.apache.kafka.connect.mirror.Scheduler) [Scheduler for MirrorSourceConnector-syncing topic ACLs]
java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.SecurityDisabledException: No Authorizer is configured on the broker
     at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
     at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
     at org.apache.kafka.common.internals.KafkaFutureImpl.get(KafkaFutureImpl.java:165)
     at org.apache.kafka.connect.mirror.MirrorSourceConnector.listTopicAclBindings(MirrorSourceConnector.java:397)
     at org.apache.kafka.connect.mirror.MirrorSourceConnector.syncTopicAcls(MirrorSourceConnector.java:288)
     at org.apache.kafka.connect.mirror.Scheduler.run(Scheduler.java:93)
     at org.apache.kafka.connect.mirror.Scheduler.executeThread(Scheduler.java:112)
     at org.apache.kafka.connect.mirror.Scheduler.lambda$scheduleRepeating$0(Scheduler.java:50)
     at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
     at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
     at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
     at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.kafka.common.errors.SecurityDisabledException: No Authorizer is configured on the broker

Environment

  • Red Hat AMQ Streams 2.1
    • MirrorMaker2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content