Need help to index MongoDB (3.2.7) data into Elastic Search (5.6.3)

Hi All, I need help to index MongoDB (3.2.7) data into Elastic Search (5.6.3) In a real-time manner. After some research, I found that river plugin is deprecated. But I could read that MongoConnector can be used.

Is MongoConnector, a better option for this use-case? Or is there any other options available?

This is a duplicate of the one you posted one hour ago. I’m closing it.