Giter Club home page Giter Club logo

canal-client's People

Contributors

bookscup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

canal-client's Issues

Rabbitmq消息持久化报错

https://github.com/BooksCup/canal-client/blob/master/src/main/java/com/bc/canal/client/mq/RabbitmqSender.java

Rabbitmq持久化分为3个:交换机、队列、消息

目前你只提供了队列持久化参数,导致如果使用现有交换机如果是持久化的时候,报错:
[ERROR][20190521 16:53:39,562][RabbitmqSender:86] fail to send data to rabbitmq, error: channel is already closed due to channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'durable' for exchange 'amq.fanout' in vhost '/': received 'false' but current is 'true', class-id=40, method-id=10)

另外 消息头设置不当:content_type: text/plain
应该为json

另外 https://github.com/BooksCup/canal-client/blob/master/deploy/client.sh
canal-client-1.0.0.jar 在master分支没有找到 请问小白放进去吧

另外 master和https://github.com/BooksCup/canal-client/releases 代码不同步。。

connector.subscribe(".*\\..*");

connector.subscribe(".\..");

你这一句应该添加配置文件 读取相关的值

如果这样写 会导致canal配置失效的

因为客户端一链接server 就会生效这句话

canal文档写了
检查下CanalConnector是否调用subscribe(filter)方法;有的话,filter需要和instance.properties的canal.instance.filter.regex一致,否则subscribe的filter会覆盖instance的配置,如果subscribe的filter是...,那么相当于你消费了所有的更新数据 【特别注意】

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.