[ 
https://issues.apache.org/jira/browse/KAFKA-8718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16919109#comment-16919109
 ] 

huxihx commented on KAFKA-8718:
-------------------------------

Option `blacklist` was removed by 
[KAFKA-2983|https://issues.apache.org/jira/browse/KAFKA-2983]. Did you enable 
security for the source cluster?

> Not authorized to access topics: [__consumer_offsets] with Apache Kafka 2.3.0
> -----------------------------------------------------------------------------
>
>                 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
>            Priority: Critical
>
> 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: [__consumer_offsets]
>  
> --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
(v8.3.2#803003)

Reply via email to