etl 读写 elastic 同步数据
Elasticsearch是什么
- Elasticsearch一个基于Lucene的搜索服务器
- 它提供了一个分布式多用户能力的全文搜索引擎,基于RESTful web接口对外开放。
- Elasticsearch是用Java语言开发的,并作为Apache许可条款下的开放源码发布,是一种流行的企业级搜索引擎。Elasticsearch用于云计算中,能够达到实时搜索,稳定,可靠,快速,安装使用方便。 说的直白一点,你可以用Elasticsearch在企业内部搭建出类似百度、谷歌之类的搜索服务器。
通过etl实现对elastic的读写操作
Elasticsearch的部署和使用不在这里介绍,这里主要介绍如何通过etl engine对elastic进行读写访问。
下面我们给出一个样本,实现从index为es_db3中的 elastic 读取数据,写入到index为es_db4的elastic中
elastic_to_elastic.grf 样本
读写 节点使用说明
调用方式
etl_engine.exe -fileUrl elastic_to_elastic.grf