Skip to content

datax的elasticsearch插件,主要是reader插件,writer插件官网已经实现了。适用于es7.x

Notifications You must be signed in to change notification settings

liufei96/datax-elasticsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

datax-elasticsearch

datax的elasticsearch插件,主要是reader插件,writer插件官网已经实现了。适用于es7.x

使用步骤

1. 下载Datax

Datax下载地址

Datax的github地址

将elasticsearchreader工程复制到Datax工程下面

2. 修改一些配置

elasticsearchreader工程复制到Datax工程下面。需要修改一些配置

2.1 修改pom.xml

修改Datax的pom.xml。加上elasticsearchreader

<module>elasticsearchreader</module>

2.2 修改package.xml

修改Datax的package.xml。加上elasticsearchreader

<fileSet>
    <directory>elasticsearchreader/target/datax/</directory>
    <includes>
        <include>**/*.*</include>
    </includes>
    <outputDirectory>datax</outputDirectory>
</fileSet>

3. 编译打包

$ cd  {DataX_source_code_home}
$ mvn -U clean package assembly:assembly -Dmaven.test.skip=true

详细内容可参考官方文档

4. 运行

$ cd  {YOUR_DATAX_HOME}/bin
$ python datax.py {YOUR_JOB.json}

About

datax的elasticsearch插件,主要是reader插件,writer插件官网已经实现了。适用于es7.x

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages