Class NatsKVConfig
- Namespace
- NATS.Client.KeyValueStore
- Assembly
- NATS.Client.KeyValueStore.dll
Key Value Store configuration
public record NatsKVConfig : IEquatable<NatsKVConfig>- Inheritance
- 
      
      NatsKVConfig
- Implements
- Inherited Members
Constructors
- NatsKVConfig(string)
- Create a new configuration 
Properties
- Bucket
- Name of the bucket 
- Compression
- Use compressed storage. 
- Description
- Human readable description. 
- History
- Maximum historical entries. 
- LimitMarkerTTL
- How long the bucket keeps markers when keys are removed by the TTL setting, 0 meaning markers are not supported. 
- MaxAge
- Maximum age of any entry in the bucket, expressed in nanoseconds 
- MaxBytes
- How large the bucket may become in total bytes before the configured discard policy kicks in 
- MaxValueSize
- Maximum size of a single value. 
- Metadata
- Additional metadata for the Bucket 
- Mirror
- Mirror defines the configuration for mirroring another KeyValue store 
- NumberOfReplicas
- How many replicas to keep for each entry in a cluster. 
- Placement
- Placement requirements for a key-value store stream. 
- Republish
- Republish is for republishing messages once persistent in the Key Value Bucket. 
- Sources
- Sources defines the configuration for sources of a KeyValue store. 
- Storage
- The type of storage backend, - File(default) and- Memory