Skip to content

mysql数据接收到kafka topic的时候,ddl语句都被过滤掉了,不会存储到topic中. #269

Description

@Douglas-gwj

[output]
type = "async-kafka"

目标端编码规则:输出类型和版本号

- 可选

[output.config]

默认为 json

output-format = "json"
#enable-ddl = true

默认为 0.1 版本

schema-version = "0.1"
[output.config.kafka-global-config]
broker-addrs = ["cdh01:9092","cdh02:9092","cdh03:9092"]
mode = "async"

目标端 kafka SASL 配置

# - 可选

#[output.config.kafka-global-config.net.sasl]
#enable = false
#user = ""
#password = ""

kafka 路由的定义

[[output.config.routes]]
match-schema = "test_gravity"
match-table = "*"
dml-topic = "test_gravity"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions