apache / apache/pulsar-client-node

getRedeliveryCount always return 0

Offen
#296 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
164
Forks
98
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hello,

Is there a way to make `message.getRedeliveryCount()` return the number of time a message has been redelivered?
I hope it's not a problem between the chair and the keyboard, but in my case, the function always returns 0.

I tried to let the default parameters on `subscribe`, but it doesn't change anything.
There is no disconnection of the client between each redelivery.
The message is well nack each time.

i use `pulsar-client` v1.8 and `kezhenxu94/pulsar` pulsar container (pulsar 2.10.0).

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start with the message.getRedeliveryCount() and subscribe entry points, then reproduce the behavior using pulsar-client v1.8 against Pulsar 2.10.0 while acknowledging with nack and keeping the client connected. Done means the redelivery count reflects repeated deliveries, or the issue documents the supported behavior and cause of the constant zero.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, nodejs
Bereich
distributed-systems
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
32/100

Neue Issues direkt in Ihr Postfach

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