Skip to content

ReplayPolicy

nats.js.api.ReplayPolicy #

Bases: str, Enum

The replay policy applies when the DeliverPolicy is one of
  • all
  • by_start_sequence
  • by_start_time

since those deliver policies begin reading the stream at a position other than the end.

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

INSTANT class-attribute instance-attribute #

INSTANT = 'instant'

ORIGINAL class-attribute instance-attribute #

ORIGINAL = 'original'