Skip to content
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

kafka.errors.KafkaTimeoutError: KafkaTimeoutError: Failed to update metadata after 60.0 secs. Closing the Kafka producer with 0 secs timeout. #4

Open
Dreams-Ahlem opened this issue Mar 18, 2022 · 3 comments

Comments

@Dreams-Ahlem
Copy link

Hello, I first want to thank you for the work you've done. I have a problem here that the producer is not able to connect as it is mentioned in the figure
Screenshot at 2022-03-18 12-53-07

@mmohamed
Copy link
Owner

Hello,

Seems like the port forwarding is not activated yet, do you run these commands before ?
kubectl port-forward pod/dev-brocker 9092:9092 kubectl exec -ti dev-brocker -- kafka-topics.sh --create --topic dev-k8s --bootstrap-server 127.0.0.1:9092

@Dreams-Ahlem
Copy link
Author

Hello,

Seems like the port forwarding is not activated yet, do you run these commands before ? kubectl port-forward pod/dev-brocker 9092:9092 kubectl exec -ti dev-brocker -- kafka-topics.sh --create --topic dev-k8s --bootstrap-server 127.0.0.1:9092

no I activated the port forwarding and I keep getting this result
Screenshot at 2022-03-18 14-36-15

@mmohamed
Copy link
Owner

Hello,

I need more information about pods, theys must be up an running :
image

Please try to post logs of the broker, one of each kafka and zk !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants