user2027452
user2027452

Reputation: 53

Detecting changes in Cassandra

Is it possible to be notified when data is updated in Cassandra? I.e. when changes to a node have been replicated in from another node?

Could I do this directly using Gossip, or is there a higher level abstraction?

Upvotes: 3

Views: 694

Answers (1)

Sarge
Sarge

Reputation: 2366

No.

Gossip isn't something to be relied on. The Cassandra nodes themselves don't rely on it for guarantees. (e.g. if a node is down then updates are queued for an hour only). This is also why you need to run nodetool repair regularly.

Neither does Cassandra have triggers.

I recommend you do update tracking in your application.

Upvotes: 3

Related Questions