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

Provide an accurate error message when set autoTopicCreation #14684

Merged
merged 10 commits into from
Mar 17, 2022
Merged

Provide an accurate error message when set autoTopicCreation #14684

merged 10 commits into from
Mar 17, 2022

Conversation

mattisonchao
Copy link
Member

@mattisonchao mattisonchao commented Mar 15, 2022

Motivation

We mention in the documentation that setting --num-partitions is not allowed when the user wants to use the non-partitioned AutoTopicCreation configuration.

image

But some users ignore this and get errors like:

Reason: Invalid configuration for autoTopicCreationOverride

IMO, it's a bit confusing, not telling the user where they are invalid.

Modifications

  • Provide an accurate error message

Verifying this change

  • Make sure that the change passes the CI checks.

Documentation

  • no-need-doc

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Mar 15, 2022
@mattisonchao mattisonchao changed the title Enhance fault tolerance when set auto topic creation Enhance fault tolerance when set autoTopicCreation Mar 15, 2022
@mattisonchao
Copy link
Member Author

/pulsarbot rerun-failure-checks

@mattisonchao mattisonchao changed the title Enhance fault tolerance when set autoTopicCreation Provide an accurate error message when set autoTopicCreation Mar 15, 2022
@mattisonchao
Copy link
Member Author

/pulsarbot rerun-failure-checks

@mattisonchao mattisonchao requested a review from Technoboy- March 16, 2022 01:58
@mattisonchao
Copy link
Member Author

/pulsarbot rerun-failure-checks

@codelipenghui codelipenghui merged commit 50a7e50 into apache:master Mar 17, 2022
aparajita89 pushed a commit to aparajita89/pulsar that referenced this pull request Mar 21, 2022
codelipenghui pushed a commit that referenced this pull request Mar 25, 2022
@codelipenghui codelipenghui added the cherry-picked/branch-2.9 Archived: 2.9 is end of life label Mar 25, 2022
codelipenghui pushed a commit that referenced this pull request Apr 4, 2022
@codelipenghui codelipenghui added the cherry-picked/branch-2.8 Archived: 2.8 is end of life label Apr 4, 2022
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Apr 5, 2022
codelipenghui pushed a commit that referenced this pull request Apr 19, 2022
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Apr 20, 2022
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.

3 participants