enum
NATS::JetStream::StreamConfig::PersistMode
Overview
The PersistMode tells the NATS server when to flush messages to disk.
Defined in:
jetstream/stream_config.crEnum Members
-
Default =
0 -
Flush each message to disk before acknowledging it
-
Async =
1 -
Flush messages to disk asynchronously. The message may be acknowledged before it's flushed, so it can be lost if the server is killed.
Instance Method Summary
-
#async?
Returns
trueif this enum value equalsAsync -
#default?
Returns
trueif this enum value equalsDefault