nodiak
nodiak copied to clipboard
Add support for 2.0 CRDTs
Add support for Riak 2.0 Data Types:
- Counters (API change from 1.4 counters)
- Sets
- Maps (and within maps, flags and registers)
References:
- http://docs.basho.com/riak/2.0.0pre20/dev/using/data-types/ (documentation)
- https://github.com/basho/riak-ruby-client/pull/111 - Ruby client implementation
Well. This is already giving me heartburn. http://docs.basho.com/riak/2.0.0pre20/dev/using/data-types/#Setting-Up-Buckets-to-Use-Riak-Data-Types
Still super unclear on why these aren't just resource endpoints that map to preconfigured buckets behind the scenes so that they require no additional user-land setup.
Apart from the userland configuration of bucket types, there shouldn't be any issues implementing these endpoints, right?
@phated Correct, it's fairly straightforward, HTTP endpoints. (Specifically, most of the bucket and object operations will have to be modified to accept the bucket type parameter)