Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

canal.serverMode 同时支持tcp和kafka么? #1623

Closed
alynnchen opened this issue Mar 22, 2019 · 1 comment
Closed

canal.serverMode 同时支持tcp和kafka么? #1623

alynnchen opened this issue Mar 22, 2019 · 1 comment

Comments

@alynnchen
Copy link

environment

  • canal version v1.1.3-alpha-2
  • mysql version v5.7.20
  • kafka version v1.0

Issue Description

我启动了一个canal server , 用了adapter 同步Hbase,canal.serverMode配置的tcp,一切正常。

现在我需要另外传给kafka一份,能用同一个canal server么?还是必须重新部署个server?

我是这么做的,在canal.properties
canal.instance.mq_test.serverMode = kafka
canal.instance.mq_test.mq.servers = test-01:9092,test-02:9092
mq_test 是我建的一个用于kafka的instance.properties

求解惑,谢谢

@agapple
Copy link
Member

agapple commented Mar 22, 2019

需要重新部署

@agapple agapple closed this as completed Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants