|
NATS C Client with JetStream and Streaming support
3.10.0
The nats.io C Client, Supported by Synadia Communications Inc.
|
#include <nats.h>
Public Attributes | |
| int64_t | MaxWait |
| Amount of time (in milliseconds) to wait for a publish response, default will the context's Wait value. | |
| const char * | MsgId |
| Message ID used for de-duplication. | |
| const char * | ExpectStream |
| Expected stream to respond from the publish call. | |
| const char * | ExpectLastMsgId |
| Expected last message ID in the stream. | |
| uint64_t | ExpectLastSeq |
| Expected last message sequence in the stream. | |
| uint64_t | ExpectLastSubjectSeq |
| Expected last message sequence for the subject in the stream. | |
| bool | ExpectNoMessage |
| Expected no message (that is, sequence == 0) for the subject in the stream. | |
JetStream publish options.
These are options that you can provide to JetStream publish APIs.
The common usage will be to initialize a structure on the stack by calling jsPubOptions_Init. Note that strings are owned by the application and need to be valid for the duration of the API call this object is passed to.
| int64_t jsPubOptions::MaxWait |
| const char* jsPubOptions::MsgId |
| const char* jsPubOptions::ExpectStream |
| const char* jsPubOptions::ExpectLastMsgId |
| uint64_t jsPubOptions::ExpectLastSeq |
| uint64_t jsPubOptions::ExpectLastSubjectSeq |
| bool jsPubOptions::ExpectNoMessage |