返回到文章

采纳

编辑于

kafka启用权限后,kafka-consumer-group.sh查看消费组报错

kafka

目前kafka集群启用SASL_PLAINTEXT权限和ACl,在使用kafka-consumer-group.sh查看消费组消息情况时,报如下错误(无法上传图片只能手敲了)

WARN TGT renewal thread has been interrupted an will exit.(org.apache.kafka.common.security.kerberos.Kerberos)
Error while executing consumer group command Request GROUP_COORDINATOR failed on broker    List
    at kafka.admin.AdminClient.sendAnyNode(AdminClient.scala:67)
    at kafka.admin.AdminClient.findCoordinator(AdminClient.scala:72)
    at kafka.admin.AdminClient.describeGroup(AdminClient.scala:125)
    at kafka.admin.AdminClient.describeConsumerGroup(AdminClient.scala:147)
    at kafka.admin.ConsumerGroupCommand$KafkaconsumerGroupService.
    describeGroup(ConsumerGroupCommand.scala:308)
     at kafka.admin.ConsumerGroupCommand$ConsumerGroupService$
     Class.describe(ConsumerGroupCommand.scala:89)
     at kafka.admin.ConsumerGroupCommand$KafkaconsumerGroupService.
    describe(ConsumerGroupCommand.scala:296)
    at kafka.admin.ConsumerGroupCommand$.main(ConsumerGroupCommand.scala:68)
    at kafka.admin.ConsumerGroupCommand.main(ConsumerGroupCommand.scala)