apache / apache/pulsar-client-node

Fail on disconnect

Ouverte
#75 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
triage/week-12
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

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.