simple kv store for streams