kafka常见错误汇总-创新互联
The Cluster ID h71epGCWSj6mfBVnsRc-fA doesn’t match stored clusterId Some(RqHGN0qGQ-iXs6idJTZ6rg) in meta.properties. The broker is trying to join the wrong cluster. Configured zookeeper.connect may be wrong.
含义:使用zookeeper集群和kafka匹配id的时候没匹配上,导致连接报错
解决:在日志目录下发现了这个文件:删除meta.properties
org.apache.kafka.common.network.InvalidReceiveException: Invalid receive (size = 1195725856 larger than 104857600)
解决:删除topic
WARN [Producer clientId=console-producer] Received invalid metadata error in produce request on partition jzjy1_01-0 due to org.apache.kafka.common.errors.NotLeaderOrFollowerException: For requests intended only for the leader, this error indicates that the broker is not the current leader. For requests intended for any replica, this error indicates that the broker is not a replica of the topic partition… Going to request metadata update now (org.apache.kafka.clients.producer.internals.Sender)
解决:删除topic
WARN [AdminClient clientId=adminclient-1] Connection to node -1 (localhost/127.0.0.1:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
解决:重启kafka
你是否还在寻找稳定的海外服务器提供商?创新互联www.cdcxhl.cn海外机房具备T级流量清洗系统配攻击溯源,准确流量调度确保服务器高可用性,企业级服务器适合批量采购,新人活动首月15元起,快前往官网查看详情吧
文章标题:kafka常见错误汇总-创新互联
网站链接:http://scjbc.cn/article/ggjcc.html