Call ack once the message is fully processed; until then it stays un-acked and the
server will redeliver it after the consumer's ack-wait. That is the no-loss guarantee: a crash
before ack means the message comes back; a successful ack means it never does.
The reply subject the ack is published to (the JetStream ack inbox).
subject
subject:string
The original subject the message was published to.
Methods
ack
ack():Promise<void>
Acknowledges the message, removing it from redelivery. Uses a confirmed (double) ack:
it awaits the server's acknowledgement so the ack is durable before it resolves - safe to
reconnect or close immediately after.
A single message pulled from a durable consumer.
Call ack once the message is fully processed; until then it stays un-acked and the server will redeliver it after the consumer's ack-wait. That is the no-loss guarantee: a crash before ack means the message comes back; a successful ack means it never does.
Since
1.0.0