#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
- Subjectwill filter the purge request to only messages that match the subject, which can have wildcards.
 
- Sequencewill purge up to but not including this sequence and can be combined with subject filtering.
 
- Keepwill specify how many messages to keep and can be combined with subject filtering.
 
- Note
- Sequenceand- Keepare mutually exclusive, so both can not be set at the same time.
◆ Subject
      
        
          | const char* jsOptions::jsOptionsStream::jsOptionsStreamPurge::Subject | 
      
 
 
◆ Sequence
      
        
          | uint64_t jsOptions::jsOptionsStream::jsOptionsStreamPurge::Sequence | 
      
 
 
◆ Keep
      
        
          | uint64_t jsOptions::jsOptionsStream::jsOptionsStreamPurge::Keep | 
      
 
 
The documentation for this struct was generated from the following file: