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

Getting error while creating topic #4

Open
shyamal31 opened this issue Dec 26, 2023 · 3 comments
Open

Getting error while creating topic #4

shyamal31 opened this issue Dec 26, 2023 · 3 comments

Comments

@shyamal31
Copy link

ERROR org.apache.kafka.common.errors.TimeoutException: Timed out waiting for a node assignment. Call: listTopics
(kafka.admin.TopicCommand$)

I'm getting the above error while creating a Topic. I've used the exact command that has been mentioned in the repo.

@dheemantha-bhat
Copy link

I too have the same issue despite changing the port and kafka version.

@Anitheanalyst
Copy link

I had the same issue. I resolved it by using "localhost" instead of the actual public IP.
bin/kafka-topics.sh --create --topic demo_testing2 --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1

hope this helps

@Davin08
Copy link

Davin08 commented Apr 1, 2024

While using the command : sudo nano config/server.properties
Please replace "localhost" with your Public IP

While creating the topic, use localhost instead of the IP address, As said by @Anitheanalyst do :
bin/kafka-topics.sh --create --topic demo_testing2 --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1

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

4 participants