gpt4 book ai didi

node.js - 卡夫卡错误: Request for offset X but we only have log segments in the range Y to Z

转载 作者:太空宇宙 更新时间:2023-11-03 22:12:24 24 4
gpt4 key购买 nike

我有工作的 kafka 实例,但现在它产生了数千个错误,如下所示:

[2016-06-24 01:33:28,092] ERROR [Replica Manager on Broker 0]: Error when processing fetch request for partition [test-topic,0] offset 45 from consumer with correlation id 85452. Possible cause: Request for offset 45 but we only have log segments in the range 0 to 0. (kafka.server.ReplicaManager)

我正在使用默认配置。我在 Node.js 代码中使用了多个主题。

UPD:重新安装kafka对我有帮助,但我想知道问题的原始根源。

最佳答案

请阅读此处了解问题根源 https://github.com/endgameinc/elasticsearch-river-kafka/issues/8

您可能删除了kafka中的某些文件或文件夹。

关于node.js - 卡夫卡错误: Request for offset X but we only have log segments in the range Y to Z,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38003060/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com