Re: Help with cassandra triggers

2017-01-17 Thread Jonathan Haddad
Trigger only gets executed on the coordinator.  There's no remote DC
trigger.

What you need is Change Data Capture (CDC).
https://issues.apache.org/jira/browse/CASSANDRA-8844

On Tue, Jan 17, 2017 at 9:40 AM suraj pasuparthy 
wrote:

> Hello
> We have a usecase where we need to support triggers with multiple
> datacenters.
> The use case is we need is
> 1) Data is written into DC1.
> 2) The Sync configured will sync the data to DC2
> 3) when the data is written into DC2, we need a trigger to fire on DC2.
>
> I have tested the triggers for a local write. But i do not see the trigger
> on sync.
> Could anyone please help me out with this ?
>
> thanks
> Suraj
>


Help with cassandra triggers

2017-01-17 Thread suraj pasuparthy
Hello
We have a usecase where we need to support triggers with multiple
datacenters.
The use case is we need is
1) Data is written into DC1.
2) The Sync configured will sync the data to DC2
3) when the data is written into DC2, we need a trigger to fire on DC2.

I have tested the triggers for a local write. But i do not see the trigger
on sync.
Could anyone please help me out with this ?

thanks
Suraj