kafka里面的数据长这样的:
{"data":null,"database":"","es":1635503718000,"id":327,"isDdl":false,"mysqlType":null,"old":null,"pkNames":null,"sql":"/* Query from DMS-WEBSQL-0-Qid_1635503718577 byuser 285909287365559970 */ INSERT INTO test01 values(1,"liuj")","sqlType":null,"table":"test01","ts":1635503747090,"type":"QUERY"} 或 {"data":null,"database":"","es":1635503713000,"id":55,"isDdl":false,"mysqlType":null,"old":null,"pkNames":null,"sql":"UPDATE t_user SET last_visit_at='2021-10-29 18:35:13' WHERE id = 99","sqlType":null,"table":"t_user","ts":1635503713996,"type":"QUERY"}
全部都是query类型的,这个是bug吗?
原提问者GitHub用户lanmaodage
找到问题了,在black里那表过滤了,导到采集的非query数据没有过来,但是这个black不影响query的采集!!
原回答者GitHub用户lanmaodage
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。