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

Error when creating Kafka topic #1

Open
ghost opened this issue Dec 13, 2020 · 0 comments
Open

Error when creating Kafka topic #1

ghost opened this issue Dec 13, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 13, 2020

Hi Fhussonnois,

When creating Kafka topic, I received this error message.

./bin/kafka-topics --create --partitions 6 --replication-factor 3 --topic test

_Error while executing topic command : KeeperErrorCode = NoAuth for /config/topics/test

[2020-12-13 01:42:16,292] ERROR org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /config/topics/test
at org.apache.zookeeper.KeeperException.create(KeeperException.java:120)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
at kafka.zookeeper.AsyncResponse.maybeThrow(ZooKeeperClient.scala:564)
at kafka.zk.KafkaZkClient.createRecursive(KafkaZkClient.scala:1646)
at kafka.zk.KafkaZkClient.createOrSet$1(KafkaZkClient.scala:365)
at kafka.zk.KafkaZkClient.setOrCreateEntityConfigs(KafkaZkClient.scala:375)
at kafka.zk.AdminZkClient.createTopicWithAssignment(AdminZkClient.scala:93)
at kafka.zk.AdminZkClient.createTopic(AdminZkClient.scala:57)
at kafka.admin.TopicCommand$ZookeeperTopicService.createTopic(TopicCommand.scala:372)
at kafka.admin.TopicCommand$TopicService.createTopic(TopicCommand.scala:200)
at kafka.admin.TopicCommand$TopicService.createTopic$(TopicCommand.scala:195)
at kafka.admin.TopicCommand$ZookeeperTopicService.createTopic(TopicCommand.scala:364)
at kafka.admin.TopicCommand$.main(TopicCommand.scala:62)
at kafka.admin.TopicCommand.main(TopicCommand.scala)
(kafka.admin.TopicCommand$)_

Can you please help?

Thank you.

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

0 participants