Skip to content

RetentionPolicy

nats.js.api.RetentionPolicy #

Bases: str, Enum

How message retention is considered

INTEREST class-attribute instance-attribute #

INTEREST = 'interest'

LIMITS class-attribute instance-attribute #

LIMITS = 'limits'

WORK_QUEUE class-attribute instance-attribute #

WORK_QUEUE = 'workqueue'

Last update: 2023-11-13