apache / apache/pulsar-client-node
Fail on disconnect
- Lingua principale
- C++
- Stelle
- 164
- Fork
- 98
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, node.js
- Ambito
- distributed-systems
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100