Replies: 1 comment
-
It is quite hard to comment without full logs and without fully understanding your environments. The error suggests your client has old metadata, so it can be just that. Or it could be that you did something wrong when trying to expose it the way you did. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug Description
I deployed Kafka on Kubernetes with a custom advertisedHost (set to the pod IP, which allows connections from outside the cluster). However, when I connect to Kafka, the client occasionally displays the following error message:
Tried to send a message to a replica that is not the leader for some partition. Your metadata is out of date.
Steps to reproduce
Apply yaml:
test connect to kafka, the broker list is:
Expected behavior
No response
Strimzi version
0.40.0
Kubernetes version
v1.29.5
Installation method
YAML files
Infrastructure
Bare-metal
Configuration files and logs
Additional context
In my environment, I added the following annotations:
These annotations are passed to the pod. The CNI tool (Spiderpool) allocates an IP to the pod with two key features:
Beta Was this translation helpful? Give feedback.
All reactions