apache / apache/pulsar-client-node
Fail on disconnect
- Langage dominant
- C++
- Étoiles
- 164
- Forks
- 98
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Is there/should there be a way to fail a subscription when disconnected from the server?
I would normally crash the process when this happens..
However
```
const msg = await consumer.receive();
```
just seems to wait forever with debug output indicating retrying but operationTimeoutCeconds having no effect.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start at the consumer.receive() call shown in the issue and trace how disconnect retries and operationTimeoutCeconds are handled. Determine the expected behavior when the server disconnects, then add coverage demonstrating that a subscription fails rather than waiting indefinitely.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, node.js
- Domaine
- distributed-systems
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100