Open caiyuanhui opened 1 year ago
mongo-shake支持同步kafka显示修改数据的整条数据的修改前和修改后信息吗?目前是只同步修改了的字段的前后信息 {"ts":{"T":1695449457,"I":1},"t":9,"h":1800435299144552493,"v":2,"op":"u","ns":"code_review.test","o":[{"Key":"$v","Value":1},{"Key":"$set","Value":[{"Key":"_class","Value":12257}]}],"o2":[{"Key":"_id","Value":123}],"lsid":"SAAAAAVpZAAQAAAABPwMp7sD0kH7u3AwaPU9g/4FdWlkACAAAAAAY5mrDaxi8gv8RmdTsQ+1j7fmkr7JUsabhNmXAheU0fgA","txnNumber":7,"PrevOpTime":"HAAAABF0cwAAAAAAAAAAABJ0AP//////////AA==","ui":{"Subtype":4,"Data":"LtC93gcAQv6bcA9i/KljLQ=="}}
类似canal同步显示吗: {"data":[{"id":"6","nick_name":"无风无雨","personal_sign":"","password":null,"mobile":"13717617143","good_num":"90032044","liang_id":"0","openid":null,"unionid":null,"iosid":null,"avatar":"https://oosdev.reduchaoliu.cn/img/avatar/avatar_6_1687583735.044193.jpg","back_ground":null,"sex":"2","cert_no":"42028119920409321X","cert_name":"","face_scan_flag":"1","city":"锦州市","industry":"IT","constellation":null,"height":"160.0","weight":"71.0","birthday":"2000-01-01","attention_num":"12","fans_num":"16","visit_num":"430","invite_code":"AYJ-00000046","status":"1","create_by":"system","create_time":"1682305402295","update_by":null,"update_time":null,"is_deleted":"0","role":"1","login_time":"1695367849331","channel":"appStore","device_id":"1692849640143906465","device_type":"applet","is_new_register_flag":"1","voice_personal_sign":"https://oosdev.reduchaoliu.cn/dynamic/essay/6_1682931869000.mp3","voice_personal_sign_time":"3","emotion":"单身","divide_balance_rule_id":"0","divide_balance_rule_name":"默认规则","divide_balance_rule_status":"0"}],"database":"rdcl-user","es":1695450726000,"id":12,"isDdl":false,"mysqlType":{"id":"bigint(11)","nick_name":"varchar(32)","personal_sign":"varchar(100)","password":"varchar(64)","mobile":"varchar(20)","good_num":"varchar(10)","liang_id":"int(11)","openid":"varchar(64)","unionid":"varchar(64)","iosid":"varchar(64)","avatar":"varchar(255)","back_ground":"varchar(255)","sex":"tinyint(1)","cert_no":"varchar(18)","cert_name":"varchar(16)","face_scan_flag":"int(2)","city":"varchar(32)","industry":"varchar(32)","constellation":"varchar(16)","height":"double(6,2)","weight":"double(6,2)","birthday":"date","attention_num":"int(11)","fans_num":"int(11)","visit_num":"int(11)","invite_code":"varchar(16)","status":"tinyint(1)","create_by":"varchar(32)","create_time":"bigint(20)","update_by":"varchar(32)","update_time":"bigint(20)","is_deleted":"tinyint(1)","role":"tinyint(1)","login_time":"bigint(20)","channel":"varchar(160)","device_id":"varchar(160)","device_type":"varchar(48)","is_new_register_flag":"smallint(1)","voice_personal_sign":"varchar(100)","voice_personal_sign_time":"int(3)","emotion":"varchar(255)","divide_balance_rule_id":"varchar(255)","divide_balance_rule_name":"varchar(255)","divide_balance_rule_status":"int(4) unsigned zerofill"},"old":[{"nick_name":"无风无雨1"}],"pkNames":["id"],"sql":"","sqlType":{"id":-5,"nick_name":12,"personal_sign":12,"password":12,"mobile":12,"good_num":12,"liang_id":4,"openid":12,"unionid":12,"iosid":12,"avatar":12,"back_ground":12,"sex":-6,"cert_no":12,"cert_name":12,"face_scan_flag":4,"city":12,"industry":12,"constellation":12,"height":8,"weight":8,"birthday":91,"attention_num":4,"fans_num":4,"visit_num":4,"invite_code":12,"status":-6,"create_by":12,"create_time":-5,"update_by":12,"update_time":-5,"is_deleted":-6,"role":-6,"login_time":-5,"channel":12,"device_id":12,"device_type":12,"is_new_register_flag":5,"voice_personal_sign":12,"voice_personal_sign_time":4,"emotion":12,"divide_balance_rule_id":12,"divide_balance_rule_name":12,"divide_balance_rule_status":4},"table":"rdcl_app_user_info","ts":1695450727052,"type":"UPDATE"}
mongo-shake支持同步kafka显示修改数据的整条数据的修改前和修改后信息吗?目前是只同步修改了的字段的前后信息 {"ts":{"T":1695449457,"I":1},"t":9,"h":1800435299144552493,"v":2,"op":"u","ns":"code_review.test","o":[{"Key":"$v","Value":1},{"Key":"$set","Value":[{"Key":"_class","Value":12257}]}],"o2":[{"Key":"_id","Value":123}],"lsid":"SAAAAAVpZAAQAAAABPwMp7sD0kH7u3AwaPU9g/4FdWlkACAAAAAAY5mrDaxi8gv8RmdTsQ+1j7fmkr7JUsabhNmXAheU0fgA","txnNumber":7,"PrevOpTime":"HAAAABF0cwAAAAAAAAAAABJ0AP//////////AA==","ui":{"Subtype":4,"Data":"LtC93gcAQv6bcA9i/KljLQ=="}}
类似canal同步显示吗: {"data":[{"id":"6","nick_name":"无风无雨","personal_sign":"","password":null,"mobile":"13717617143","good_num":"90032044","liang_id":"0","openid":null,"unionid":null,"iosid":null,"avatar":"https://oosdev.reduchaoliu.cn/img/avatar/avatar_6_1687583735.044193.jpg","back_ground":null,"sex":"2","cert_no":"42028119920409321X","cert_name":"","face_scan_flag":"1","city":"锦州市","industry":"IT","constellation":null,"height":"160.0","weight":"71.0","birthday":"2000-01-01","attention_num":"12","fans_num":"16","visit_num":"430","invite_code":"AYJ-00000046","status":"1","create_by":"system","create_time":"1682305402295","update_by":null,"update_time":null,"is_deleted":"0","role":"1","login_time":"1695367849331","channel":"appStore","device_id":"1692849640143906465","device_type":"applet","is_new_register_flag":"1","voice_personal_sign":"https://oosdev.reduchaoliu.cn/dynamic/essay/6_1682931869000.mp3","voice_personal_sign_time":"3","emotion":"单身","divide_balance_rule_id":"0","divide_balance_rule_name":"默认规则","divide_balance_rule_status":"0"}],"database":"rdcl-user","es":1695450726000,"id":12,"isDdl":false,"mysqlType":{"id":"bigint(11)","nick_name":"varchar(32)","personal_sign":"varchar(100)","password":"varchar(64)","mobile":"varchar(20)","good_num":"varchar(10)","liang_id":"int(11)","openid":"varchar(64)","unionid":"varchar(64)","iosid":"varchar(64)","avatar":"varchar(255)","back_ground":"varchar(255)","sex":"tinyint(1)","cert_no":"varchar(18)","cert_name":"varchar(16)","face_scan_flag":"int(2)","city":"varchar(32)","industry":"varchar(32)","constellation":"varchar(16)","height":"double(6,2)","weight":"double(6,2)","birthday":"date","attention_num":"int(11)","fans_num":"int(11)","visit_num":"int(11)","invite_code":"varchar(16)","status":"tinyint(1)","create_by":"varchar(32)","create_time":"bigint(20)","update_by":"varchar(32)","update_time":"bigint(20)","is_deleted":"tinyint(1)","role":"tinyint(1)","login_time":"bigint(20)","channel":"varchar(160)","device_id":"varchar(160)","device_type":"varchar(48)","is_new_register_flag":"smallint(1)","voice_personal_sign":"varchar(100)","voice_personal_sign_time":"int(3)","emotion":"varchar(255)","divide_balance_rule_id":"varchar(255)","divide_balance_rule_name":"varchar(255)","divide_balance_rule_status":"int(4) unsigned zerofill"},"old":[{"nick_name":"无风无雨1"}],"pkNames":["id"],"sql":"","sqlType":{"id":-5,"nick_name":12,"personal_sign":12,"password":12,"mobile":12,"good_num":12,"liang_id":4,"openid":12,"unionid":12,"iosid":12,"avatar":12,"back_ground":12,"sex":-6,"cert_no":12,"cert_name":12,"face_scan_flag":4,"city":12,"industry":12,"constellation":12,"height":8,"weight":8,"birthday":91,"attention_num":4,"fans_num":4,"visit_num":4,"invite_code":12,"status":-6,"create_by":12,"create_time":-5,"update_by":12,"update_time":-5,"is_deleted":-6,"role":-6,"login_time":-5,"channel":12,"device_id":12,"device_type":12,"is_new_register_flag":5,"voice_personal_sign":12,"voice_personal_sign_time":4,"emotion":12,"divide_balance_rule_id":12,"divide_balance_rule_name":12,"divide_balance_rule_status":4},"table":"rdcl_app_user_info","ts":1695450727052,"type":"UPDATE"}