hashgraph / hashgraph/did-sdk-java

Mirror listener retry

Aperta
#3 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Java
Stelle
37
Fork
19
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Problem**
The mirror listener doesn't appear to be setup to retry in the event of a loss of communication with the Mirror Node

**Solution**
If the listener is subscribing, it should handle an `error()` event and re-subscribe from the consensus timestamp of the last message (+1 nano) it received. This will ensure no notifications are missed.

**Alternatives**
There are no alternatives that would ensure no loss of data.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.