Skip to main content

Acknowledging

You must call notification.ack() to confirm processing:

Retry behavior

The Engine’s NATS consumer configuration controls the acknowledgement timeout and maximum delivery attempts. An acknowledgement can be lost after your handler has already completed, so the same notification can arrive again. Use the notification ID to deduplicate completed work, and use the destination service’s idempotency mechanism when triggering an external action. Acknowledge after successful processing. Log failed handling attempts so you can investigate when the configured delivery limit is reached.