-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
says "In the middle of a leadership election" only in minikube. #912
Comments
it seems like this is a minikube bug, I am closing this one. |
hello |
solved by increasing config.Metadata.Retry.Backoff = 2*time.Second |
I am using sarama library (1.11.0) for kafka in K8Guard .
I have both docker-compose and minikube version for k8guard. it used to work in both but now recently suddenly it stopped working in minikube.
I tried different version of minikube 18, and 20.
the error I get is
the funny thing is when I log in to kafka contrainer and try to describe the leader, it says it has a leader 1001 and it says it is on partition 0. so for sure it DOES have a leader.
here is how my docker-compose looks like (which works)
and here is how my minikube looks like (which stopped working)
only difference I have made is change kubernetes version to 1.6.3 on my minikube.
The text was updated successfully, but these errors were encountered: