[英]Strimzi Kafka "brokers without a matching listener" during GKE Upgrade
I deployed Kafka using the strimzi operator version 0.15 on GKE and is working fine.我在 GKE 上使用 strimzi 运算符版本 0.15 部署了 Kafka,并且工作正常。 The config is this:配置是这样的:
kafka:
version: 2.3.1
replicas: 3
config:
offsets.topic.replication.factor: 3
transaction.state.log.replication.factor: 3
transaction.state.log.min.isr: 2
log.message.format.version: "2.3"
When I did an upgrade of the kubernetes cluster, obviously also each Kafka Pod has been restarted, and during the upgrade I saw many of the following messages in the logs coming from clients trying to communicate with Kafka:当我升级 kubernetes 集群时,显然每个 Kafka Pod 也已重新启动,并且在升级过程中,我在尝试与 Kafka 通信的客户端的日志中看到了以下许多消息:
xxx Partitions have leader brokers without a matching listener, including.... xxx 分区具有没有匹配侦听器的领导代理,包括....
and和
Connection to node 1 (kafka-1.redacted.svc.cluster.local/redacted:9092) could not be established.无法建立到节点 1 (kafka-1.redacted.svc.cluster.local/redacted:9092) 的连接。 Broker may not be available.经纪人可能不可用。
So, I wonder if this is a normal behavior or if this isn't supposed to happen.所以,我想知道这是正常行为还是不应该发生。 After the GKE Upgrade everything was working fine without any problem. GKE 升级后一切正常,没有任何问题。
During the upgrade also the kafka-exporter (gets deployed together with the strimzi operator) was logging:在升级过程中,kafka-exporter(与 strimzi 操作员一起部署)也在记录:
In the middle of a leadership election, there is currently no leader for this partition and hence it is unavailable for writes在leader选举中,这个partition目前没有leader,因此无法写入
Thanks for your help谢谢你的帮助
好的,我想我发现了问题,一些客户使用复制 1 创建了主题,这将回答问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.