Git Product home page Git Product logo

binlogo's Introduction

Binlogo

Go Reference Go Report Card codecov GitHub commit activity
中文 | English

Binlogo is the distributed, visualized application based on MySQL binlog. In short, binlogo is to process the data changes of MySQL into easily understand messages and output to different systems according to the user's configuration. Here are part of advantages:

  • Distributed, multi node improves availability of the whole system.
  • Visualization, can complete common operations and observe the status of the whole cluster in the control website
  • It can be output to multiple queues or other applications, and new outputs are constantly added

Get Started

  • Install etcd. Binlogo relies on etcd, so you must install etcd first.

  • Install binlogo. Binlogo's download address: Download Address

  • Message Format: Data format of binlogo output

  • Start binlogo.

    • Edit config. ${binlogo-path}/configs/binlogo.yaml

      avatar

    • $ ./binlogo server --config ./configs/binlogo.yaml

  • Open up your browser to http://127.0.0.1:9999/console to view the console website

  • Create Pipeline:

Follow the steps.

avatar

avatar

  • Run pipeline.

Click button to run the pipeline instance.

avatar

  • Operation condition.

You can see the operation condition of pipeline.

avatar

avatar

  • See the output

Insert some into mysql, watch the ouput on stdout.

avatar

avatar

  • Configuration output to Kafka
  • High performance, possible data loss.
    • acks=1
    • enable.idempotence=false
    • compression.type=snappy
    • retries=0
  • For reliability performance:
    • acks=-1
    • enable.idempotence=true
    • retries=3 or larger one

avatar

avatar

Docker

$ docker pull jin06/binlogo
$ docker run -e "ETCD_ENDPOINTS=172.17.0.3:2379" --name BinlogoNode -it -d -p 9999:9999 jin06/binlogo:latest
Open browser access http://127.0.0.1:9999/console
I started five nodes with docker. The following is a screenshot

avatar

Kubernetes

Other outputs

Docs

Questions

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.