Kafka Connect “Received unknown topic or partition error in fetch for partition…” 过度记录

huangapple go评论87阅读模式
英文:

Kafka Connect "Received unknown topic or partition error in fetch for partition..." Overlogging

问题

我们的Kafka Connect服务器很快就会被connect.log填满。在日志文件中不断出现的警告是:

WARN [Consumer clientId=consumer-connect-cluster-2, groupId=connect-cluster] Received unknown topic or partition error in fetch for partition connect-statuses-2 (org.apache.kafka.clients.consumer.internals.Fetcher:1340)

可能导致此警告的原因是什么,为什么它会记录为垃圾信息?它每秒记录超过1000次,我该如何停止?另外,删除该消费者组是否安全?

英文:

Our Kafka Connect server gets filled up very quickly by connect.log. The WARN that keeps appearing in the log file is:

WARN [Consumer clientId=consumer-connect-cluster-2, groupId=connect-cluster] Received unknown topic or partition error in fetch for partition connect-statuses-2 (org.apache.kafka.clients.consumer.internals.Fetcher:1340)

What may cause this warning and why it is logging as a spam?. It is getting logged more than 1000 times in a second, how can I stop that? Also is it safe to delete that consumer group?

答案1

得分: 1

如果您描述connect-statuses主题,然后查看分区2,您将看到可用的副本和领导者。

如果没有可用的副本,也没有可用的领导者,您将看到此警告消息。

英文:

If you describe the connect-statuses topic, then look at partition 2, you'll see what replicas and leaders are available.

If no replicas are available, and no leader available, you'll see this warning message

答案2

得分: 0

重启经纪人解决了问题,目前为止。找不到背后的原因。

英文:

Restarting the brokers solved the issue, for now. Couldn't find the reason behind it.

huangapple
  • 本文由 发表于 2023年7月3日 16:13:45
  • 转载请务必保留本文链接:https://go.coder-hub.com/76602954.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定