kafka 异常总结

1、Error: Executing consumer group command failed due to org.apache.kafka.common.errors.TimeoutException: Timed out waiting for a node assignment.
查询topic消费情况的时候,出现了该异常
排查:
确认zookeeper没有问题,查看kafka的日志server.log
出现类似错误 ERROR [KafkaApi-3] Number of alive brokers ‘0’ does not meet the required replication factor ‘3’ for the offsets topic (configured via ‘offsets.topic.replication.factor’). This error can be ignored if the cluster is starting up and not all brokers are up yet. (kafka.server.KafkaApis)
解决:一一重启kafka集群中有类似错误的实例。

你可能感兴趣的:(工具)