Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

How to Sync Data from Elasticsearch to Elasticsearch

DEV Community·罗梦婷·24 days ago
#PRkVMhAp
Reading 0:00
15s threshold

Overview Elasticsearch is a popular search engine that forms part of the modern data stack alongside relational databases, caching, real-time data warehouses, and message-oriented middleware. While writing data to Elasticsearch is relatively straightforward, real-time data synchronization can be more challenging. This article describes how to migrate and sync data from Elasticsearch to Elasticsearch using BladePipe and the Elasticsearch incremental data capture plugin . Highlights Elasticsearch Plugin Elasticsearch does not explicitly provide a method for real-time change data capture. However, its plugin API IndexingOperationListener can track INDEX and DELETE events. The INDEX event includes INSERT or UPDATE operations, while the DELETE event refers to traditional DELETE operations. Once the mechanism for capturing incremental data is established, the next challenge is how to make this data available in downstream tools. We use a dedicated index, cc_es_trigger_idx , as a container for incremental data.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More