inMemoryKvs

fun inMemoryKvs(name: String): Kvs

Returns an in-memory Kvs instance identified by name.

Data is held in a plain in-process map and is lost when the process ends. This implementation requires only the kvs-core artifact on the classpath.

Multiple calls with the same name may or may not return the same instance — consumers should not rely on identity equality.

Return

A Kvs backed by an in-memory map.

Parameters

name

Logical name for this store. Used to distinguish multiple in-memory instances within the same process.