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

When topic does not exist, optimize the prompt message #10845

Merged
merged 2 commits into from Jun 8, 2021

Conversation

315157973
Copy link
Contributor

@315157973 315157973 commented Jun 7, 2021

Motivation

If we set enableRetry=true, the client will subscribe to the retry topic.
If we set AllowAutoTopicCreation=false, the client will receive Topic dose not exists, which means that the retry Topic does not exists.
This makes users very confused. My topic clearly exists, why is it still prompted like this?
Therefore, the prompt information is improved to facilitate users to troubleshoot problems.

Modifications

add topic name to the returning message

@315157973 315157973 self-assigned this Jun 7, 2021
@codelipenghui codelipenghui added this to the 2.9.0 milestone Jun 8, 2021
@codelipenghui codelipenghui added type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages release/2.8.1 labels Jun 8, 2021
@codelipenghui codelipenghui merged commit e72a0d8 into apache:master Jun 8, 2021
yangl pushed a commit to yangl/pulsar that referenced this pull request Jun 23, 2021
### Motivation
If we set enableRetry=true, the client will subscribe to the retry topic.
If we set AllowAutoTopicCreation=false, the client will receive `Topic dose not exists`, which means that the retry Topic does not exists.
This makes users very confused. My topic clearly exists, why is it still prompted like this?
Therefore, the prompt information is improved to facilitate users to troubleshoot problems.

### Modifications
add topic name to the returning message
@codelipenghui codelipenghui added the cherry-picked/branch-2.8 Archived: 2.8 is end of life label Jun 25, 2021
codelipenghui pushed a commit that referenced this pull request Jun 25, 2021
### Motivation
If we set enableRetry=true, the client will subscribe to the retry topic.
If we set AllowAutoTopicCreation=false, the client will receive `Topic dose not exists`, which means that the retry Topic does not exists.
This makes users very confused. My topic clearly exists, why is it still prompted like this?
Therefore, the prompt information is improved to facilitate users to troubleshoot problems.

### Modifications
add topic name to the returning message

(cherry picked from commit e72a0d8)
@315157973 315157973 deleted the topic-not-exists branch July 19, 2021 11:11
bharanic-dev pushed a commit to bharanic-dev/pulsar that referenced this pull request Mar 18, 2022
### Motivation
If we set enableRetry=true, the client will subscribe to the retry topic.
If we set AllowAutoTopicCreation=false, the client will receive `Topic dose not exists`, which means that the retry Topic does not exists.
This makes users very confused. My topic clearly exists, why is it still prompted like this?
Therefore, the prompt information is improved to facilitate users to troubleshoot problems.

### Modifications
add topic name to the returning message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked/branch-2.8 Archived: 2.8 is end of life release/2.8.1 type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants