KeyValueBucketOptionsLike
Este conteúdo não está disponível em sua língua ainda.
KeyValueBucketOptionsLike =
object
Defined in: src/io/broker/JetStreamKeyValueActor.ts:511
Create-time bucket limits — nats.js KvOptions spelling.
Properties
Section titled “Properties”bindOnly?
Section titled “bindOnly?”
readonlyoptionalbindOnly?:boolean
Defined in: src/io/broker/JetStreamKeyValueActor.ts:519
Bind to an existing bucket instead of creating one.
history?
Section titled “history?”
readonlyoptionalhistory?:number
Defined in: src/io/broker/JetStreamKeyValueActor.ts:512
maxValueSize?
Section titled “maxValueSize?”
readonlyoptionalmaxValueSize?:number
Defined in: src/io/broker/JetStreamKeyValueActor.ts:517
replicas?
Section titled “replicas?”
readonlyoptionalreplicas?:number
Defined in: src/io/broker/JetStreamKeyValueActor.ts:516
storage?
Section titled “storage?”
readonlyoptionalstorage?:"memory"|"file"
Defined in: src/io/broker/JetStreamKeyValueActor.ts:515
readonlyoptionalttl?:number
Defined in: src/io/broker/JetStreamKeyValueActor.ts:514
Per-key TTL in milliseconds (nats.js converts to nanos itself).
