Migrating from Couchbase to elastic Search

Hi,

  1. Shall this couchbase elastic search connector used for one time migration of data between couchbase to elastic search.
  2. How to validate if all the data gets transfered into elastic search from couchbase

HI Karthik,

  1. Shall this couchbase elastic search connector used for one time migration of data between couchbase to elastic search.

Sure, if you want. An alternative might be to use the cbexport tool to export the Couchbase documents and then write a little script to send them to Elasticsearch.

  1. How to validate if all the data gets transfered into elastic search from couchbase

Let’s turn this into two questions:

2a. How do I know when the connector is done?

Monitor the connector and wait for all group members to report a cbes.backlog value of zero.

2b. How do I verify all the documents were transferred?

Perhaps with an Eventing function that queries Elasticsearch to make sure the document exists. (Ignore documents whose IDs start with “_connector”.) @jon.strabala might have a better idea.

Thanks,
David