#include <nats.h>
|
const char * | Subject |
| This is the subject to match against messages for the purge command.
|
|
uint64_t | Sequence |
| Purge up to but not including sequence.
|
|
uint64_t | Keep |
| Number of messages to keep.
|
|
Advanced stream purge options
Subject
will filter the purge request to only messages that match the subject, which can have wildcards.
Sequence
will purge up to but not including this sequence and can be combined with subject filtering.
Keep
will specify how many messages to keep and can be combined with subject filtering.
- Note
Sequence
and Keep
are mutually exclusive, so both can not be set at the same time.
◆ Subject
const char* jsOptionsStreamPurge::Subject |
◆ Sequence
uint64_t jsOptionsStreamPurge::Sequence |
◆ Keep
uint64_t jsOptionsStreamPurge::Keep |
The documentation for this struct was generated from the following file: