[Hawkular-dev] Accounts on Cassandra

Juraci Paixão Kröhling jpkroehling at redhat.com
Tue Oct 27 07:08:32 EDT 2015


Team,

I'm moving Accounts to Cassandra, so that Hawkular won't need a RDMBS 
just because of it.

I tried to keep backwards compatibility, but there's one part that could 
break your code: the models are now using UUIDs for the IDs. Previously, 
the IDs were strings, which were UUIDs as string by default, but your 
component had the freedom to specify an own ID.

As far as I know, only Inventory specifies its own ID for the Resource 
class. It seems that Jirka is OK with changing it to UUID, but if you 
have any problems with that, let me know and I'll remove this requirement.

Note that if all you do is consume the IDs generated by Accounts, you 
should *not* be affected, as all old methods are converting the UUIDs 
that you send as String back to UUID.

Apart from that, it should be fully backwards compatible, but in any 
case, I'll be releasing accounts 1.0.17.Final and branching 1.0.x.

Cassandra changes will be applied to 1.1.0.Final. All changes from 
1.1.0.Final and on will be backported to 1.0.x *up to the next MS*. If 
everything goes right for the next MS, I'll stop maintaining 1.0.x.

- Juca.


More information about the hawkular-dev mailing list