Persistence Configuration
Nstream-Jet offers persistence by storing the value of lanes in configured stores, enabling state to be reloaded on application start.
Examples Repo
Example configuration files showcasing all features we will discuss can be found in our Examples Repo .
The store
field in the app
section of the configuration file can be used to enable persistence by configuring a store object.
A shorthand exists to configure a default store, simply set the value of store
to true
in the app
section:
"app": {
"store": true
}
This will configure a RocksDB store with default configuration - for further configuration options see the RocksDB section.
Nstream is licensed under the Redis Source Available License 2.0 (RSALv2).