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

rpk: Print create topics error message if available #15837

Conversation

michael-redpanda
Copy link
Contributor

With the introduction of minimum_topic_replications, topic creation using rf=-1 (therefor relying on default_topic_replications) may now fail because the default is less than the minimum. Originally, rpk would assume that the failure was because default_topic_replications was not odd. This change will now display the error message, if
one was provided, in this situation.

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.3.x
  • v23.2.x
  • v23.1.x

Release Notes

Improvements

  • [rpk] more informative error message display on create topic failure

Signed-off-by: Michael Boquard <michael@redpanda.com>
@michael-redpanda michael-redpanda merged commit 609a390 into redpanda-data:dev Dec 21, 2023
24 checks passed
@vbotbuildovich
Copy link
Collaborator

/backport v23.3.x

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

Successfully merging this pull request may close these issues.

None yet

3 participants