hashgraph / hashgraph/did-sdk-java

Mirror listener retry

Offen
#3 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Java
Sterne
37
Forks
19
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.