Warning error while fetching metadata with association id 1: {MY_TOPIC? =INVALID_TOPIC_EXCEPTION}(org.apache.kafka.clients.NetworkClient)


Lada

When I run the following command with kafka 0.9.0.1 I get this warning[1]. Can you tell me what's wrong with my theme? (I'm talking to a Kafka broker running in EC2)

#./kafka-console-consumer.sh --new-consumer --bootstrap-server kafka.xx.com:9092 --topic MY_TOPIC?

[1]

[2016-04-06 10:57:45,839] WARN Error while fetching metadata with correlation id 1 : {MY_TOPIC?=INVALID_TOPIC_EXCEPTION} (org.apache.kafka.clients.NetworkClient)
[2016-04-06 10:57:46,066] WARN Error while fetching metadata with correlation id 3 : {MY_TOPIC?=INVALID_TOPIC_EXCEPTION} (org.apache.kafka.clients.NetworkClient)
[2016-04-06 10:57:46,188] WARN Error while fetching metadata with correlation id 5 : {MY_TOPIC?=INVALID_TOPIC_EXCEPTION} (org.apache.kafka.clients.NetworkClient)
[2016-04-06 10:57:46,311] WARN Error while fetching metadata with correlation id 7 : {MY_TOPIC?=INVALID_TOPIC_EXCEPTION} (org.apache.kafka.clients.NetworkClient)
April

Your topic name is invalid because it contains the characters '?' An illegal topic name.

Related


Apache Kafka: get topic metadata with correlation id 0

crazy synapse I sent a message to Kafka using the following code: def getHealthSink(kafkaHosts: String, zkHosts: String) = { val kafkaHealth: Subscriber[String] = kafka.publish(ProducerProperties( brokerList = kafkaHosts, topic = "health_check

Error trying to create topic on Apache Kafka

Giorgos Myrianthous I am trying to create a kafka topic using $KAFKA_HOME/bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic testing But the following error is reported: Error while executing topic command :

Error trying to create topic on Apache Kafka

Giorgos Myrianthous I am trying to create a kafka topic using $KAFKA_HOME/bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic testing But the following error is reported: Error while executing topic command :

Error trying to create topic on Apache Kafka

Giorgos Myrianthous I am trying to create a kafka topic using $KAFKA_HOME/bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic testing But the following error is reported: Error while executing topic command :

Error trying to create topic on Apache Kafka

Giorgos Myrianthous I am trying to create a kafka topic using $KAFKA_HOME/bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic testing But the following error is reported: Error while executing topic command :