Change Streams

Change Streams

Keeping Elasticsearch in sync with MongoDB using Change Streams

I decided to integrate Elasticsearch for retrieval to improve the search experience on a platform I'm working on. One of the challenges with using two different data stores is keeping them in sync. Updates to MongoDB needed to be synced to Elasticsearch in near real-time.

Read