Multiple debezium connector for one Mysql DB

Viewed 1300

I am trying to create multiple connector same datebase, but getting exception

org.apache.kafka.connect.errors.ConnectException: A slave with the same server_uuid/server_id as this slave has connected to the master; the first event 'mysql-bin.000004' at 1088, the last event read from './mysql-bin.000004' at 1310, the last byte read from './mysql-bin.000004' at 1310. Error code: 1236; SQLSTATE: HY000.\n\tat io.debezium.connector.mysql.AbstractReader.wrap(AbstractReader.java:230)

1 Answers

In each connector configuration, the field 'database.server.id' must be unique.

Delete each connector (except one) and recreate it with a new 'database.server.id'.

Related