Skip to content

KAFKA-13393 Documentation - Add missing arguments to create a topic#11425

Closed
FlorianLehmann wants to merge 1 commit into
apache:trunkfrom
FlorianLehmann:KAFKA-13393
Closed

KAFKA-13393 Documentation - Add missing arguments to create a topic#11425
FlorianLehmann wants to merge 1 commit into
apache:trunkfrom
FlorianLehmann:KAFKA-13393

Conversation

@FlorianLehmann

Copy link
Copy Markdown

In the quickstart documentation (quickstart_createtopic) , there is a command specified to create a topic:

$ bin/kafka-topics.sh --create --topic quickstart-events --bootstrap-server localhost:9092

However, it is no longer working due to missing arguments:

  • partitions
  • replications-factor

The previous command should be replaced with this one:

$ bin/kafka-topics.sh --create --topic quickstart-events --bootstrap-server localhost:9092 --partitions 1 --replication-factor 1

@showuon

showuon commented Oct 23, 2021

Copy link
Copy Markdown
Member

@FlorianLehmann , thanks for reporting this issue and the PR. After checking the change history, I found it's my fault that accidentally add this constraint in V3.0. I opened KAFKA-13396 and will fix it soon. That means, this should be a bug, and related to the documentation issue. Thank you.

@showuon

showuon commented Oct 25, 2021

Copy link
Copy Markdown
Member

@FlorianLehmann , PR: #11429 to fix from the root: TopicCommand is ready for review. Welcome to provide comments. Thanks.

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

Successfully merging this pull request may close these issues.

2 participants