Skip to content

Simple KV Store is just a minimalist implementation of basic key-value store

License

Notifications You must be signed in to change notification settings

mycordaapp/simple-kv-store

Repository files navigation

Simple KV Store (sks)

Circle CI Licence Status

What it does

Simple KV Store is just a minimalist implementation of basic key-value store

Two implementations are provided:

  • SimpleKVStore works in memory and is only intended for use within unit tests and examples.
  • FileKVStore persists to file system. It is not intended for production usage.

The anticipation is that other implementations will be provided for production, for example a JpaKVStore that is backed by a relational database. To support this the units will be refactored into a suite of common tests that should pass for any event store.

By design this is JUST a key-value, with very limited searching. To efficiently find a record you MUST known the key beforehand.

There payload can in 3 types

Adding to a project

Maven jars are deployed using JitPack. See releases for version details.

//add jitpack repo
maven { url "https://jitpack.io" }

// add dependency 
implementation "com.github.mycordaapp:simple-kv-store:<release>"

JitPack build status is at https://jitpack.io/com/github/mycordaapp/simple-kv-store/$releaseTag/build.log

Dependencies

As with everything in myCorda dot App, this library has minimal dependencies.

Next Steps

About

Simple KV Store is just a minimalist implementation of basic key-value store

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages