RE: FW: Cassandra trigger to send notifications

2016-12-20 Thread Oren Yekutieli
Got it. Thanks! Regards, Oren From: DuyHai Doan [mailto:doanduy...@gmail.com] Sent: Tuesday, December 20, 2016 10:11 AM To: user@cassandra.apache.org Subject: Re: FW: Cassandra trigger to send notifications Right now CDC is very very LOW LEVEL, you'll need to 1. Use a CommitLogReader to read

Re: FW: Cassandra trigger to send notifications

2016-12-20 Thread DuyHai Doan
mail.com] > *Sent:* Saturday, December 17, 2016 12:32 AM > *To:* user@cassandra.apache.org > *Subject:* Re: FW: Cassandra trigger to send notifications > > > > You probably want to look at change data capture rather than triggers: > http://cassandra.apache.org/doc/latest/operating/cd

RE: FW: Cassandra trigger to send notifications

2016-12-19 Thread Oren Yekutieli
will probably do need a more ‘user friendly’ CDC documentation. Is it available somewhere? Regards, Oren From: Eric Stevens [mailto:migh...@gmail.com] Sent: Saturday, December 17, 2016 12:32 AM To: user@cassandra.apache.org Subject: Re: FW: Cassandra trigger to send notifications You probably want

Re: FW: Cassandra trigger to send notifications

2016-12-16 Thread Eric Stevens
You probably want to look at change data capture rather than triggers: http://cassandra.apache.org/doc/latest/operating/cdc.html Be aware that one of your criteria regarding operation order is going to be very difficult to guarantee due to eventual consistency. On Fri, Dec 16, 2016, 2:43 AM

Re: FW: Cassandra trigger to send notifications

2016-12-16 Thread Matija Gobec
Hi Oren, I've spent a reasonable time working out triggers and I would say that your best bet is doing this in the app. Just publish a rabbitmq message from the app when you execute a statement. If your goal is to have an audit then try batch writing data to the tables and delta to their audit

FW: Cassandra trigger to send notifications

2016-12-16 Thread Oren Yekutieli
Hello, In a Cassandra cluster I want to push a notification to rabbitmq whenever a change (insert/update/delete) was made to some Cassandra tables, with the following requirements: The notifications should: 1. Be ordered in the same order the changes were stored. 2. Be sent only if