One approach will be to create a event based streaming pipeline, like your spark streaming will listen on a socket or whatever for the event to happen and once it happens, it will hit your cassandra and does work.
Thanks Best Regards On Wed, Dec 31, 2014 at 3:14 PM, Oleg Ruchovets <[email protected]> wrote: > Hi . > I want to use spark streaming to read data from cassandra. > But in my case I need process data based on event. (not retrieving the > data constantly from Cassandra). > Question: > what is the way to issue the processing using spark streaming from time > to time. > > Thanks > Oleg. > >
