|
NATS C Client with JetStream and Streaming support
3.13.0
The nats.io C Client, Supported by Synadia Communications Inc.
|
#include <nats.h>
Public Attributes | |
| bool | IgnoreDeletes |
| Do not receive delete markers. | |
| bool | IncludeHistory |
| Receive all history per subject, not just the last one. | |
| bool | MetaOnly |
| Only receive the meta data of the entry. | |
| int64_t | Timeout |
| How long to wait for some operations to complete. | |
| bool | UpdatesOnly |
| Only receive updates, no initial snapshot. | |
| int64_t | Heartbeat |
| Heartbeat used by the internal ordered consumer. | |
| uint64_t | ResumeFromRevision |
| Resume from this specific revision. | |
KeyValue watcher options object.
Initialize the object with kvWatchOptions_Init
| bool kvWatchOptions::IgnoreDeletes |
If this is set to true, the watcher will not receive delete markers.
| bool kvWatchOptions::IncludeHistory |
If not set, only the latest value per key is delivered as the initial snapshot.
| bool kvWatchOptions::MetaOnly |
The entry will not contain the actual content of entry.
| int64_t kvWatchOptions::Timeout |
Expressed in milliseconds.
| bool kvWatchOptions::UpdatesOnly |
If set to true, the initial snapshot will not be received. Only new updates after the watcher is created will be received.
| int64_t kvWatchOptions::Heartbeat |
Expressed in nanoseconds, similar to jsConsumerConfig.Heartbeat.
| uint64_t kvWatchOptions::ResumeFromRevision |
If this is set to a positive value, the watcher will resume from this specific revision.