gpt4 book ai didi

apache-kafka - 再现 UnknownTopicOrPartitionException : This server does not host this topic-partition

转载 作者:行者123 更新时间:2023-12-04 04:33:23 27 4
gpt4 key购买 nike

我们在生产环境中遇到过一些异常:

UnknownTopicOrPartitionException: This server does not host this topic-partition

根据我的分析,此问题的一种可能解决方法是增加 retries 的数量。因为这是一个可重试的异常。

我在本地重现这个问题时遇到了一些困难。我尝试在生产时关闭代理,但它失败了 TimeoutException .

我正在寻找重现此问题的建议。

最佳答案

如果您在主题创建过程中收到此错误日志,则存在一个 Unresolved 问题:

KAFKA-6221 ReplicaFetcherThread throws UnknownTopicOrPartitionException on topic creation

at some point of time during batch creating topics, it's likely that UpdateMetadata requests got processed later than FetchRequest, therefore metadata cache was not updated on a timely basis.

issue was about log messages that have no impact on cluster health.

关于apache-kafka - 再现 UnknownTopicOrPartitionException : This server does not host this topic-partition,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44514923/

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