Start
A few lines in doze.hcl give you Kvrocks. Nothing starts until something connects.
1 · In doze.hcldoze.hcl
module kvrocks "kvrocks" {
version = 2
} It listens on port 6380. doze env prints its address for tools outside doze.hcl.
A fuller setup
Paste it over the block above and keep what you need.
The Kvrocks example, complete
The example the module ships in its own description (meta.yaml), in doze 0.2's module syntax.
doze.hcl
module kvrocks "store" {
version = 2
port = 6380
workers = 4
password = "admin"
settings = {
rocksdb.block_cache_size = "256"
}
namespace "tenant_a" {
token = "tenant-a-token"
}
namespace "tenant_b" {
token = "tenant-b-token"
}
}Quality
Each line says where it comes from, so you can check it.
- Signed by doze-dev
ed25519 key Nu5y8mbj…GWjw=, compiled into doze, over every file and over the whole index. How signing works
signed index - Three platforms
macOS arm64, Linux x86_64, Linux arm64, each with its own sha256, in every release.
signed index - Conformance-tested on Kvrocks 2
Every argument on the Reference tab converged into a running engine, once per supported version, before a release is signed.
doze-modules CI · new - Every example on this page parsed by doze
By doze 0.2 with doze lint --offline, on every change to the registry.
registry CI · new - Source linked
doze-modules/modules/kvrocks, Apache-2.0; Kvrocks builds from doze-binaries.
GitHub