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

mysql to kafka #353

Open
yvanu opened this issue Mar 7, 2024 · 1 comment
Open

mysql to kafka #353

yvanu opened this issue Mar 7, 2024 · 1 comment

Comments

@yvanu
Copy link

yvanu commented Mar 7, 2024

这样配置有问题吗?kafka里面没有数据
`name = "mysql2mysqlDemo"
version = "1.0"

[input]
type = "mysql"
mode = "stream"

[input.config.source]
host = ""
username = "
"
password = "***"
port = 3306

[[input.config.table-configs]]
schema = "test"
table = "test_source_table"

[output]
type = "async-kafka"

[output.config.kafka-global-config]
broker-addrs = ["**:9092"]
mode = "async"

kafka 路由的定义

[[output.config.routes]]
match-schema = "test"
match-table = "test_source_table"
dml-topic = "test"`

@Ryan-Git
Copy link
Collaborator

有日志么,insert 一行没反应?

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