apache / apache/pulsar-client-node
Fail on disconnect
- Vorherrschende Sprache
- C++
- Sterne
- 164
- Forks
- 98
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, node.js
- Bereich
- distributed-systems
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100