Mysql debezium connector for rds in production caused deadlocks
问题 We are creating a data pipeline from Mysql in RDS to elastic search for creating search indexes, and for this using debezium cdc with its mysql source and elastic sink connector. Now as the mysql is in rds we have to give the mysql user LOCK TABLE permission for two tables we wanted cdc, as mentioned in docs. We also have various other mysql users performing transactions which may require any of the two tables. As soon as we connected the mysql connector to our production database there was a