Hi Namita, For Moving data from Elasticsearch to Kafka you need Elasticsearch Source connector. I guess this is not supported connector. You may have to rely on some community developed connector where you may not get instant support.
https://github.com/DarioBalinzo/kafka-connect-elasticsearch-source/tree/1.4.2 Check the supported version of ES before you start. If that doesn’t suit your case then you can explore logstash with input as ES and output as Kafka. >From Kafka to MongoDB you need Sink connector. Regards, Sunil.