NATS C Client with JetStream and Streaming support
3.9.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
#include <nats.h>
Public Attributes | |
const char * | Subject |
This is the subject to match against messages for the purge command. More... | |
uint64_t | Sequence |
Purge up to but not including sequence. More... | |
uint64_t | Keep |
Number of messages to keep. More... | |
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.Sequence
and Keep
are mutually exclusive, so both can not be set at the same time. const char* jsOptions::jsOptionsStream::jsOptionsStreamPurge::Subject |
uint64_t jsOptions::jsOptionsStream::jsOptionsStreamPurge::Sequence |
uint64_t jsOptions::jsOptionsStream::jsOptionsStreamPurge::Keep |