KvWatch
faststream.nats.schemas.KvWatch #
KvWatch(bucket, headers_only=False, include_history=False, ignore_deletes=False, meta_only=False, inactive_threshold=None, timeout=5.0, declare=True)
Bases: NameRequired
A class to represent a NATS kv watch subscription.
PARAMETER | DESCRIPTION |
---|---|
bucket | Bucket name. TYPE: |
headers_only | Whether to receive only headers (default is TYPE: |
include_history | Whether to include history (default is TYPE: |
ignore_deletes | Whether to ignore deletes (default is TYPE: |
meta_only | Whether to receive only metadata (default is TYPE: |
inactive_threshold | obj: DEFAULT: |
timeout | obj: DEFAULT: |
declare | Whether to create bucket automatically or just connect to it (default is TYPE: |