Reference

jetstream

  • Default value: false
  • Hot reloadable: No

Values

TypeDescriptionChoices
boolean-true, false
stringIndicates the capability is enabled or disabled.enabled, enable, disabled, disable
objectAn object with a set of explicit properties that can be set.-

Properties

NameDescriptionTypeDefault
enabledIf true, enables the JetStream subsystem.booleantrue
store_dirDirectory to use for file-based storage.string/tmp/nats/jetstream
max_memory_storeMaximum size of the memory storage. Defaults to 75% of available memory.storage-
max_file_storeMaximum size of the file storage. Defaults to up to 1TB if available.storage-
domainThe JetStream domain the server is part of.string-
encryption_keyIf defined, enables JetStream filestore encryption using the value as the encryption key. A key length of at least 32 bytes is recommended. Note, this key is HMAC-256 hashed on startup which reduces the byte length to 64.string-
cipherDefines the encryption algorithm to use if an encryption key is defined.string-
extension_hintstring-
limitsDefault cross-account JetStream limits.object-
unique_tagDefines a tag prefix as a constraint for placement of assets across a JetStream domain. For example, if the value is az: then replicas of an assets will be required to be placed on servers having different az: tags.string-
max_outstanding_catchupMax in-flight bytes for stream catch-up. This was introduced to control how much bandwidth should be dedicated during catch-up to guard against saturating and degrading performance of the network.storage32M
Previous
reconnect