恢复kafka有哪些选择?

时间:2018-03-19 20:48:21

标签: apache-kafka

我有Kafka 0.9。 今天我需要重启Kafka-Server。 但重新启动后,我检查了主题,但没有看到除标准

之外的所有主题
/opt/kafka/bin/kafka-topics.sh --list --zookeeper localhost:2181
__consumer_offsets

在kafka服务器日志启动后出现此警告:

[2018-03-19 13:10:53,199] WARN Found a corrupted index file due to requirement failed: Corrupt index found, index file (/data/kafka/ae-result-from-0/00000000000000000000 index) has non-zero size but the last offset is 0 which is no larger than the base offset 0.}. deleting /data/kafka/ae-result-from-0/00000000000000000000.timeindex, /data/kafka/ae-result-from-0/00000000000000000000.index and rebuilding index... (kafka.log.Log)

如何正确恢复主题?

0 个答案:

没有答案