How to synchronize spring data elasticsearch with mongodb?

1.6k views Asked by At

I need to keep data in ElasticSearch in sync with the data I have and maintain in MongoDB.

Currently I have a batch job that finds all the changed data and updates it in elastic search using Spring-Batch and Spring-Data-ElasticSearch.

This works, but I'm looking for a solution where every change is directly mirrored in ElasticSearch.

1

There are 1 answers

0
austin On

give this a go mongo connector

have a read through this 5 ways to sync data