原因:
kafka.eagle.offset.storage配置有誤
該配置的作用:# kafka offset storage -- Offset stored in a Kafka cluster, if stored in the zookeeper, you can not use this option
如果在ZK中存儲offset,則不能使用該配置變量。
解決:
當offset存儲在ZK中,不要配置kafka.eagle.offset.storage屬性,不然界面consumer不顯示信息。
注釋該配置:
cd ${KE_HOME}/conf vi system-config.properties 改為: #kafka.eagle.offset.storage=kafka