pulsar-client-cpp icon indicating copy to clipboard operation
pulsar-client-cpp copied to clipboard

[Improve] Show Invalid Token Error Message

Open heesung-sohn opened this issue 3 years ago • 0 comments

Search before asking

  • [X] I searched in the issues and found nothing similar.

Version

2.9.3.11+

Minimal reproduce step

pass an invalid token and try to create a producer

What did you expect to see?

User error messages that specify the input token is invalid.

Error Checking/Getting Partition Metadata while creating producer on {topicName} -- InvalidToken

What did you see instead?

Error Checking/Getting Partition Metadata while creating producer on {topicName} -- ConnectError

Anything else?

Similar stack-overflow questions:

https://stackoverflow.com/questions/62227305/apache-pulsar-error-checking-getting-partition-metadata-while-subscribing

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

heesung-sohn avatar Oct 14 '22 18:10 heesung-sohn