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

[CORE-8187] PoC: Propagate an error message into topic_result #24067

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

BenPope
Copy link
Member

@BenPope BenPope commented Nov 7, 2024

This is a very quick PoC to see how hard it might be to propagate a custom error message.

Prior to this commit:

rpk topic create foo9 --profile=local
TOPIC  STATUS
foo9   INVALID_CONFIG: Configuration is invalid

After this commit:

rpk topic create foo9 -c redpanda.remote.read=true --profile=local
TOPIC  STATUS
foo9   INVALID_CONFIG: An enterprise license is required to enable {tiered storage}.

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
  • v24.2.x
  • v24.1.x
  • v23.3.x

Release Notes

  • none

Allow a customised error message when a topic is rejected

Signed-off-by: Ben Pope <[email protected]>
@BenPope BenPope self-assigned this Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant