Table of Contents

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.

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.

NumberOfReplicas

How many replicas to keep for each entry in a cluster.

Republish

Republish is for republishing messages once persistent in the Key Value Bucket.

Storage

The type of storage backend, File (default) and Memory