Zum Inhalt springen
Deutsch

KeyValueBucketOptionsLike

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

KeyValueBucketOptionsLike = object

Defined in: src/io/broker/JetStreamKeyValueActor.ts:511

Create-time bucket limits — nats.js KvOptions spelling.

readonly optional bindOnly?: boolean

Defined in: src/io/broker/JetStreamKeyValueActor.ts:519

Bind to an existing bucket instead of creating one.


readonly optional history?: number

Defined in: src/io/broker/JetStreamKeyValueActor.ts:512


readonly optional maxValueSize?: number

Defined in: src/io/broker/JetStreamKeyValueActor.ts:517


readonly optional replicas?: number

Defined in: src/io/broker/JetStreamKeyValueActor.ts:516


readonly optional storage?: "memory" | "file"

Defined in: src/io/broker/JetStreamKeyValueActor.ts:515


readonly optional ttl?: number

Defined in: src/io/broker/JetStreamKeyValueActor.ts:514

Per-key TTL in milliseconds (nats.js converts to nanos itself).