Detecting changes in Cassandra

Can I get notified when data is updated in Cassandra? That is, when were changes to a node replicated from another node?

Can I do this directly with Gossip, or is there a higher level abstraction?

+3


source to share


1 answer


Not.

Gossip is nothing to rely on. The nodes of Cassandra themselves do not rely on her for guarantees. (for example, if the node option is off, then updates are only queued for an hour). This is why you need to run regularly nodetool repair

.



Cassandra also has triggers.

I recommend that you track the update in the app.

+3


source







All Articles