[jira] [Commented] (KAFKA-6524) kafka mirror can't producer internal topic
[ https://issues.apache.org/jira/browse/KAFKA-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16355471#comment-16355471 ] Ahmed Madkour commented on KAFKA-6524: -- Thank you, I am going to close the issue now. > kafka mirror can't producer internal topic > --- > > Key: KAFKA-6524 > URL: https://issues.apache.org/jira/browse/KAFKA-6524 > Project: Kafka > Issue Type: Bug > Components: producer >Affects Versions: 1.0.0 >Reporter: Ahmed Madkour >Priority: Minor > > We are using kafka-mirror-maker.sh to consume data from a 3 brokers kafka > cluster and producer the data to another single broker kafka cluster > We want to include internal topics so we added the following in the consumer > configuration > exclude.internal.topics=false > We keep receiving the following errors: > {code:java} > org.apache.kafka.common.errors.InvalidTopicException: The request attempted > to perform an operation on an invalid topic. > ERROR Error when sending message to topic __consumer_offsets with key: 43 > bytes, value: 28 bytes with error: > (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback) > {code} > It seems that the producer can't access the internal topic __consumer_offsets. > Any way to fix that? -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KAFKA-6524) kafka mirror can't producer internal topic
[ https://issues.apache.org/jira/browse/KAFKA-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16355451#comment-16355451 ] huxihx commented on KAFKA-6524: --- [~omkreddy] Sorry to mistake you for the reporter:) [~ahmed.madkour] Like what Manikumar mentioned, all PRODUCE requests with this client ID will be accepted and processed by the broker, even for internal topics. > kafka mirror can't producer internal topic > --- > > Key: KAFKA-6524 > URL: https://issues.apache.org/jira/browse/KAFKA-6524 > Project: Kafka > Issue Type: Bug > Components: producer >Affects Versions: 1.0.0 >Reporter: Ahmed Madkour >Priority: Minor > > We are using kafka-mirror-maker.sh to consume data from a 3 brokers kafka > cluster and producer the data to another single broker kafka cluster > We want to include internal topics so we added the following in the consumer > configuration > exclude.internal.topics=false > We keep receiving the following errors: > {code:java} > org.apache.kafka.common.errors.InvalidTopicException: The request attempted > to perform an operation on an invalid topic. > ERROR Error when sending message to topic __consumer_offsets with key: 43 > bytes, value: 28 bytes with error: > (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback) > {code} > It seems that the producer can't access the internal topic __consumer_offsets. > Any way to fix that? -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KAFKA-6524) kafka mirror can't producer internal topic
[ https://issues.apache.org/jira/browse/KAFKA-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16355377#comment-16355377 ] Manikumar commented on KAFKA-6524: -- [~huxi_2b] Thanks for the pointer. looked into the code. Never observed before. we are allowing produce requests to internal topics with "client.id=__admin_client" [~ahmed.madkour] If you are satisfied with solution, you can close the issue, > kafka mirror can't producer internal topic > --- > > Key: KAFKA-6524 > URL: https://issues.apache.org/jira/browse/KAFKA-6524 > Project: Kafka > Issue Type: Bug > Components: producer >Affects Versions: 1.0.0 >Reporter: Ahmed Madkour >Priority: Minor > > We are using kafka-mirror-maker.sh to consume data from a 3 brokers kafka > cluster and producer the data to another single broker kafka cluster > We want to include internal topics so we added the following in the consumer > configuration > exclude.internal.topics=false > We keep receiving the following errors: > {code:java} > org.apache.kafka.common.errors.InvalidTopicException: The request attempted > to perform an operation on an invalid topic. > ERROR Error when sending message to topic __consumer_offsets with key: 43 > bytes, value: 28 bytes with error: > (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback) > {code} > It seems that the producer can't access the internal topic __consumer_offsets. > Any way to fix that? -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KAFKA-6524) kafka mirror can't producer internal topic
[ https://issues.apache.org/jira/browse/KAFKA-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16355342#comment-16355342 ] Ahmed Madkour commented on KAFKA-6524: -- [~huxi_2b] I tried it and I no longer see the errors. So what does "client.id=__admin_client" configuration mean? > kafka mirror can't producer internal topic > --- > > Key: KAFKA-6524 > URL: https://issues.apache.org/jira/browse/KAFKA-6524 > Project: Kafka > Issue Type: Bug > Components: producer >Affects Versions: 1.0.0 >Reporter: Ahmed Madkour >Priority: Minor > > We are using kafka-mirror-maker.sh to consume data from a 3 brokers kafka > cluster and producer the data to another single broker kafka cluster > We want to include internal topics so we added the following in the consumer > configuration > exclude.internal.topics=false > We keep receiving the following errors: > {code:java} > org.apache.kafka.common.errors.InvalidTopicException: The request attempted > to perform an operation on an invalid topic. > ERROR Error when sending message to topic __consumer_offsets with key: 43 > bytes, value: 28 bytes with error: > (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback) > {code} > It seems that the producer can't access the internal topic __consumer_offsets. > Any way to fix that? -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KAFKA-6524) kafka mirror can't producer internal topic
[ https://issues.apache.org/jira/browse/KAFKA-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16355320#comment-16355320 ] Manikumar commented on KAFKA-6524: -- [~huxi_2b] Not sure how "client.id" affects producing to internal topics? `client.id=__admin_client` used by AdminClient.scala > kafka mirror can't producer internal topic > --- > > Key: KAFKA-6524 > URL: https://issues.apache.org/jira/browse/KAFKA-6524 > Project: Kafka > Issue Type: Bug > Components: producer >Affects Versions: 1.0.0 >Reporter: Ahmed Madkour >Priority: Minor > > We are using kafka-mirror-maker.sh to consume data from a 3 brokers kafka > cluster and producer the data to another single broker kafka cluster > We want to include internal topics so we added the following in the consumer > configuration > exclude.internal.topics=false > We keep receiving the following errors: > {code:java} > org.apache.kafka.common.errors.InvalidTopicException: The request attempted > to perform an operation on an invalid topic. > ERROR Error when sending message to topic __consumer_offsets with key: 43 > bytes, value: 28 bytes with error: > (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback) > {code} > It seems that the producer can't access the internal topic __consumer_offsets. > Any way to fix that? -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KAFKA-6524) kafka mirror can't producer internal topic
[ https://issues.apache.org/jira/browse/KAFKA-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16354876#comment-16354876 ] huxihx commented on KAFKA-6524: --- [~omkreddy] Could you set `client.id=__admin_client` in producer.config and retry? > kafka mirror can't producer internal topic > --- > > Key: KAFKA-6524 > URL: https://issues.apache.org/jira/browse/KAFKA-6524 > Project: Kafka > Issue Type: Bug > Components: producer >Affects Versions: 1.0.0 >Reporter: Ahmed Madkour >Priority: Minor > > We are using kafka-mirror-maker.sh to consume data from a 3 brokers kafka > cluster and producer the data to another single broker kafka cluster > We want to include internal topics so we added the following in the consumer > configuration > exclude.internal.topics=false > We keep receiving the following errors: > {code:java} > org.apache.kafka.common.errors.InvalidTopicException: The request attempted > to perform an operation on an invalid topic. > ERROR Error when sending message to topic __consumer_offsets with key: 43 > bytes, value: 28 bytes with error: > (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback) > {code} > It seems that the producer can't access the internal topic __consumer_offsets. > Any way to fix that? -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KAFKA-6524) kafka mirror can't producer internal topic
[ https://issues.apache.org/jira/browse/KAFKA-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16350186#comment-16350186 ] Manikumar commented on KAFKA-6524: -- exclude.internal.topics only for consumer clients. We can consume from internal topics. But producers can not write to internal topics. > kafka mirror can't producer internal topic > --- > > Key: KAFKA-6524 > URL: https://issues.apache.org/jira/browse/KAFKA-6524 > Project: Kafka > Issue Type: Bug > Components: producer >Affects Versions: 1.0.0 >Reporter: Ahmed Madkour >Priority: Minor > > We are using kafka-mirror-maker.sh to consume data from a 3 brokers kafka > cluster and producer the data to another single broker kafka cluster > We want to include internal topics so we added the following in the consumer > configuration > exclude.internal.topics=false > We keep receiving the following errors: > {code:java} > org.apache.kafka.common.errors.InvalidTopicException: The request attempted > to perform an operation on an invalid topic. > ERROR Error when sending message to topic __consumer_offsets with key: 43 > bytes, value: 28 bytes with error: > (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback) > {code} > It seems that the producer can't access the internal topic __consumer_offsets. > Any way to fix that? -- This message was sent by Atlassian JIRA (v7.6.3#76005)