kafka消费命令异常

[root@master conf]# ^C
[root@master conf]# kafka-console-consumer.sh –zookeeper master:2181,node1:2181,node2:2181 –from-beginning –topic BROWSER_DATA
[2017-07-25 11:16:19,698] ERROR Error processing message, stopping consumer: (kafka.tools.ConsoleConsumer )java.lang.IllegalArgumentExceptionatjava.nio.Buffer.limit(Buffer.java:267)atkafka.message.Message.sliceDelimited(Message.scala:236)atkafka.message.Message.key(Message.scala:223)atkafka.message.MessageAndMetadata.key(MessageAndMetadata.scala:30)atkafka.tools.ConsoleConsumer anonfun main 1.apply(ConsoleConsumer.scala:168)atkafka.tools.ConsoleConsumer anonfun main 1.apply(ConsoleConsumer.scala:166)atscala.collection.Iterator class.foreach(Iterator.scala:660)
at kafka.utils.IteratorTemplate.foreach(IteratorTemplate.scala:32)
at scala.collection.IterableLike class.foreach(IterableLike.scala:73)atkafka.consumer.KafkaStream.foreach(KafkaStream.scala:25)atkafka.tools.ConsoleConsumer .main(ConsoleConsumer.scala:166)
at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala)
Consumed 0 messages

你可能感兴趣的:(kafka-java)