Coder Social home page Coder Social logo

leaf-ant's Introduction

Leaf Ant

Leaf Ant基于Canal实现,将MySQL数据同步至其他数据源(ElasticSearch、Redis、MQ、MySQL)

功能

ElasticSearch同步

  1. 支持MySQL单表、多表模式近实时同步至ElasticSearch
  2. 支持MySQL数据全量导入ElasticSearch

Redis同步

  1. 支持MySQL近实时同步至Redis
  2. 支持MySQL数据全量导入Redis

MQ同步

  1. 支持MySQL数据变更事件,转发至RocketMQ

MySQL

  1. 支持MySQL近实时同步至另一个MySQL实例
  2. 支持MySQL数据全量导入另一个MySQL实例

部署

  1. 下载工程、解压:https://github.com/kaishustory/leaf-ant/releases/download/0.9.0/leafant-0.9.0.zip
  2. 包含三个项目:leafant-subscribe、leafant-transform、leafant-web,建议生产环境分不同服务器部署
  3. 补充 conf/application.properties 配置,包括zookeeper地址、mongodb地址、RocketMQ、redis地址。
  4. 启动项目(最简单,不建议生产环境使用):java -jar leafant-subscribe-0.9.0-SNAPSHOT.jar
  5. 依次启动三个项目 leafant-subscribe、leafant-transform、leafant-web
  6. 访问数据源配置页面 http://127.0.0.1:8080

架构图

avatar

ElasticSearch同步配置

  1. 登录系统(访客账号:guest,密码:guest) avatar

  2. ElasticSearch同步配置列表 avatar

  3. 创建同步配置【第一步:选择MySQL表】 avatar

  4. 创建同步配置【第二步:配置ElasticSearch结构和地址】 avatar

  5. 同步历史数据

  6. 开启数据实时同步 avatar

Contributors ✨

Thanks goes to these wonderful people (emoji key):

李国洋
李国洋

🎨 💻

leaf-ant's People

Contributors

liguoyangik avatar shelltea avatar allcontributors[bot] avatar liaoshiwei avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.