TeRiTeRi

  1. 首页
  2. 未分类
  3. 正文

kafka错误处理 ERROR kafka.server.KafkaApis: [KafkaApi-83] Number of alive brokers '2' does not meet the required replication factor '3' for the offsets topic (configured via 'offsets.topic.replication.factor'). This error can be ignored if the cluster is starting up and not all brokers are up yet.

2020年2月20日 2206点热度 0人点赞 0条评论
ERROR kafka.server.KafkaApis: [KafkaApi-83] Number of alive brokers '2' does not meet the required replication factor '3' for the offsets topic (configured via 'offsets.topic.replication.factor'). This error can be ignored if the cluster is starting up and not all brokers are up yet.

问题原因:
此类问题在测试环境中容易出现,由于节点资源限制,brokers实例比offset topic副本数量少时出现此问题。
解决方案:
在server.properties中增加brokers实例数或者减少offset topic副本数量,配置项名称:offsets.topic.replication.factor(需要重启kafka服务)

标签: 暂无
最后更新:2020年2月20日

kamisamak

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

COPYRIGHT © 2023 TeRiTeRi. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang