Giter Site home page Giter Site logo

minicx / canal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alibaba/canal

0.0 0.0 0.0 17.92 MB

阿里巴巴 MySQL binlog 增量订阅&消费组件

License: Apache License 2.0

Java 94.29% Shell 1.12% Batchfile 0.12% Dockerfile 0.08% Python 0.05% HTML 0.16% CSS 0.01% JavaScript 1.48% Vue 2.24% PLpgSQL 0.23% SCSS 0.21%

canal's Introduction

修改了1.1.4版本,请切换1.1.4分支

背景

公司使用canal做数据到rocketmq上,多次发生了故障,排查后发现是数据变更有4M的大字段,rocketmq接收堵塞了,导致全栈数据同步迟缓。

官方在1.1.4提供了canal.instance.filter.black.field来过滤掉字段,但是我们不知道哪个库哪个表会突然被插入大字段,可能是测试小伙伴的随机测试。。。

变更

添加字段的长度限制,超过截取,增加报警功能,遇到超过阈值的情况发送警告到运维群,及时提醒小伙伴不好顽皮~

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.