Giter VIP home page Giter VIP logo

carrygo's Introduction

carrygo

Build Status Code Health Requirements Status

主要作用是同步mysql数据库至hbase,kudu等存储系统。

功能

  • canal日志解析,kafka持久化消息
  • 消费kafka消息同步至hbase等存储引擎
  • mysql的数据同步支持DDL、DML至hbase

原理

carrygo解析及存储服务主要有两个模块,分别是parser和store。

CarryServer

  1. 基于canal解析mysql的binlog,批量获取message的entry
  2. 过滤出需同步的db,并解析数据流,同步到kafka中

WriterServer

  1. 基于topic接受kafka的消息
  2. HBaseWriter解析数据并存储

相关资源

canal:https://github.com/alibaba/canal

TODO

  1. CarryServer服务不可用导致queue数据丢失,存储batchId至zookeeper并记录消费的batchId,丢失就rollback。
  2. 添加CarrygoManager,CarrgoMonitor服务。
  3. 添加管理控制台。

问题反馈

  1. 邮箱:[email protected]
  2. issue:https://github.com/linpelvis/carrygo/issues

carrygo's People

Contributors

linpelvis avatar

Watchers

James Cloos avatar funian 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.