Skip to content

AckPolicy

nats.js.api.AckPolicy #

Bases: str, Enum

Policies defining how messages should be acknowledged.

If an ack is required but is not received within the AckWait window, the message will be redelivered.

References
  • Consumers, AckPolicy <https://docs.nats.io/jetstream/concepts/consumers#ackpolicy>_

ALL class-attribute instance-attribute #

ALL = 'all'

EXPLICIT class-attribute instance-attribute #

EXPLICIT = 'explicit'

NONE class-attribute instance-attribute #

NONE = 'none'

Last update: 2023-11-13