返回到文章

采纳

编辑于

kafka 集群consumer 收不到消息

kafka

搭建了 3个zookeeper 伪分布式集群,kafka 也是三个broker,现在查看 _consumer_offset 是这样的,消费者收不到消息:

 Topic:__consumer_offsets    PartitionCount:50    ReplicationFactor:1    Configs:segment.bytes=104857600,cleanup.policy=compact,compression.type=producer
    Topic: __consumer_offsets    Partition: 0    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 1    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 2    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 3    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 4    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 5    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 6    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 7    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 8    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 9    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 10    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 11    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 12    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 13    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 14    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 15    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 16    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 17    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 18    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 19    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 20    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 21    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 22    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 23    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 24    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 25    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 26    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 27    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 28    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 29    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 30    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 31    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 32    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 33    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 34    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 35    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 36    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 37    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 38    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 39    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 40    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 41    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 42    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 43    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 44    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 45    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 46    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 47    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 48    Leader: 0    Replicas: 0    Isr: 0
    Topic: __consumer_offsets    Partition: 49    Leader: 0    Replicas: 0    Isr: 0