ElasticSearch and Cassandra Sync

I want to use ElasticSearch for indexing and Cassandra as a database, but I found that the plugin river is deprecated.
So how can I synchronize the data between my database and elasticseach (real time indexing).
Thank you in advance.

Send it from your application to both systems at the same time.

So, I must to duplicate the insert/update/delete from my application !!,