apache / apache/pulsar-client-cpp

[Improve] Show Invalid Token Error Message

Aperta
#53 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
71
Fork
90
Merge medio
2h 33m
PR unite (30g)
3

Descrizione

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/pulsar-client-cpp/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!

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.