Skip to content

KAFKA-8053: Provide better error in kafka-topics.sh message when topi…#6381

Closed
scholzj wants to merge 1 commit into
apache:trunkfrom
scholzj:kafka-topics-fix-error-message-when-no-topic-is-found
Closed

KAFKA-8053: Provide better error in kafka-topics.sh message when topi…#6381
scholzj wants to merge 1 commit into
apache:trunkfrom
scholzj:kafka-topics-fix-error-message-when-no-topic-is-found

Conversation

@scholzj

@scholzj scholzj commented Mar 6, 2019

Copy link
Copy Markdown
Member

…c doesn't exist

This PR tries to address KAFKA-8053. It passes the option with which the user originally called the kafka-topics.sh tool to the ensureTopicExists method to try to produce better error message. It also handles the case when the user doesn't specify any topics at all (which is for example allowed for --describe).

If you prefer to address this differently, let me know and I can update the PR.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@hachikuji

Copy link
Copy Markdown
Contributor

Thanks for the patch. This was resolved by #7094. I will go ahead and close.

@hachikuji hachikuji closed this Jul 18, 2019
@scholzj
scholzj deleted the kafka-topics-fix-error-message-when-no-topic-is-found branch July 18, 2019 20:54
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