apache / apache/pulsar-client-node

Now that acknowledge returns a Promise, should negativeAcknowledge return a Promise too?

Offen
#212 1 Kommentar 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

The `acknowledge` method of the `Consumer` type was [recently updated](https://github.com/apache/pulsar-client-node/pull/200) to return a `Promise`. Should the `negativeAcknowledge` method also return a `Promise`?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start with the Consumer type's acknowledge and negativeAcknowledge methods, then read pull request #200 to understand the earlier Promise change. Determine whether negativeAcknowledge should match that API and identify the relevant implementation and tests; done means the decision is settled and any agreed API change is covered.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, nodejs
Bereich
api, backend
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

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