kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bala Bharath Reddy Resapu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-8718) Not authorized to access topics: [__consumer_offsets] with Apache Kafka 2.3.0
Date Fri, 26 Jul 2019 15:02:00 GMT
Bala Bharath Reddy Resapu created KAFKA-8718:

             Summary: Not authorized to access topics: [__consumer_offsets] with Apache Kafka
                 Key: KAFKA-8718
                 URL: https://issues.apache.org/jira/browse/KAFKA-8718
             Project: Kafka
          Issue Type: Bug
          Components: consumer, mirrormaker, producer 
    Affects Versions: 2.3.0
            Reporter: Bala Bharath Reddy Resapu

Hi Team,

I am trying to replicate all topics from one instance to other instance using Kafka mirror
maker. When i specify to copy all the topics using whitelist option it fails with the below
error. Upon reading few blogs people have suggested to mention the offset topic in blacklist.
When i tried to do that it fails saying not a recognized option. Please suggest if this is
a bug or do we have a fix for this.

/usr/src/mirror-maker/kafka_2.12-2.3.0/bin/kafka-mirror-maker.sh --consumer.config sourceClusterConsumer.properties
--producer.config targetClusterProducer.properties --num.streams 4 --whitelist=".*"

ERROR Error when sending message to topic __consumer_offsets with key: 62 bytes, value: 28
bytes with error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)
org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics:


--blacklist "__consumer_offsets

 ERROR Exception when starting mirror maker. (kafka.tools.MirrorMaker$)
joptsimple.UnrecognizedOptionException: blacklist is not a recognized option

This message was sent by Atlassian JIRA

View raw message