apache / apache/pulsar-client-cpp
[Improve] Show Invalid Token Error Message
- Langage dominant
- C++
- Étoiles
- 71
- Forks
- 90
- Merge moyen
- 2 h 33 min
- PR mergées (30 j)
- 3
Description
### 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!
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Reproduisez le problème en transmettant un token invalide lors de la création d’un producer, puis suivez le chemin d’erreur des métadonnées de partition dans le client C++. C’est terminé lorsque l’erreur signalée identifie InvalidToken au lieu de ConnectError, conformément au message attendu.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- cpp
- Domaine
- api
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100