enum NATS::JetStream::ConsumerConfig::AckPolicy

Overview

The way this consumer expects messages to be acknowledged.

See AckPolicy in the NATS server code

Defined in:

jetstream/consumer_config.cr

Enum Members

None = 0

No acknowledgements are required. All messages are considered acknowledged on delivery.

All = 1

Acknowledging a message acknowledges all messages that came before it.

Explicit = 2

Every message must be acknowledged individually. This is the default.

Instance Method Summary

Instance Method Detail

def all? #

[View source]
def explicit? #

[View source]
def none? #

[View source]