Update Readme with Zookeeper (#90)

This commit is contained in:
Yaron Schneider 2019-10-31 21:06:51 -07:00 committed by GitHub
parent 342e0d6223
commit 75b1fc29b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -10,15 +10,16 @@ Currently supported state stores are:
* Cassandra
* Azure CosmosDB
* Memcached
* Zookeeper
## Implementing a new State Store
A compliant state store needs to implement one or more interfaces: `StateStore` and `TransactionalStateStore`.
A compliant state store needs to implement one or more interfaces: `Store` and `TransactionalStateStore`.
The interface for StateStore:
The interface for Store:
```
type StateStore interface {
type Store interface {
Init(metadata Metadata) error
Delete(req *DeleteRequest) error
BulkDelete(req []DeleteRequest) error