我正在使用Kafka V 0.10.2(8核,16 GB RAM)。执行命令时
./ kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe --group
有时候我会遇到这个例外:
Exception in consumer group command (kafka.admin.ConsumerGroupCommand$)
java.lang.RuntimeException: Request GROUP_COORDINATOR failed on brokers List(localhost:9092 (id: -1 rack: null))
at kafka.admin.AdminClient.sendAnyNode(AdminClient.scala:66)
at kafka.admin.AdminClient.findCoordinator(AdminClient.scala:71)
at kafka.admin.AdminClient.describeConsumerGroup(AdminClient.scala:157)
at kafka.admin.ConsumerGroupCommand$KafkaConsumerGroupService.collectGroupAssignment(ConsumerGroupCommand.scala:399)
at kafka.admin.ConsumerGroupCommand$ConsumerGroupService.describeGroup(ConsumerGroupCommand.scala:148)
at kafka.admin.ConsumerGroupCommand$ConsumerGroupService.describeGroup$(ConsumerGroupCommand.scala:147)
at kafka.admin.ConsumerGroupCommand$KafkaConsumerGroupService.describeGroup(ConsumerGroupCommand.scala:387)
at kafka.admin.ConsumerGroupCommand$.main(ConsumerGroupCommand.scala:73)
at kafka.admin.ConsumerGroupCommand.main(ConsumerGroupCommand.scala)
我错过了什么吗?如何解决?