[{"data":1,"prerenderedAt":7269},["ShallowReactive",2],{"post-\u002Fblog\u002F2020-05-08-kafka-connect-mysql":3,"surround-\u002Fblog\u002F2020-05-08-kafka-connect-mysql":7264},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"tags":11,"cover":17,"source":18,"body":19,"_type":7258,"_id":7259,"_source":7260,"_file":7261,"_stem":7262,"_extension":7263},"\u002Fblog\u002F2020-05-08-kafka-connect-mysql","blog",false,"","Kafka Connect For MySQL 实现增量数据同步","采用 Kafka Connector 方式连接 MySQL，通过 incrementing、timestamp、timestamp+incrementing 三种模式实现端到端的增量数据同步。","2020-05-08",[12,13,14,15,16],"简书","历史归档","Kafka","MySQL","大数据","https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-1fb3ed113eb6fb2a.png","https:\u002F\u002Fwww.jianshu.com\u002Fp\u002Ffad0e1ab9605",{"type":20,"children":21,"toc":7245},"root",[22,30,48,54,88,93,215,220,314,330,336,341,351,1257,1281,1449,1464,1677,1700,1759,1774,1817,1822,1830,1846,2802,2816,2855,2860,2867,2879,2912,2933,2940,2948,3057,3064,3086,3093,3108,3249,3264,3271,3286,3293,3299,3320,3377,3383,3398,3786,3794,3809,4196,4216,4363,4377,4570,4589,4640,4653,4693,4708,5116,5163,5250,5264,5270,5283,5289,5303,5686,5700,6083,6102,6267,6280,6474,6493,6544,6557,6597,6611,7040,7054,7089,7119,7198,7212,7218,7223,7239],{"type":23,"tag":24,"props":25,"children":27},"element","h2",{"id":26},"前言",[28],{"type":29,"value":26},"text",{"type":23,"tag":31,"props":32,"children":33},"blockquote",{},[34,40],{"type":23,"tag":35,"props":36,"children":37},"p",{},[38],{"type":29,"value":39},"最近公司需要搭建基于 Flink 框架的实时数仓，为了保证数仓的稳定性，决定引用消息中间件 Kafka 。Kafka 的作用在于 \"削峰填谷\" ，所谓的\"削峰填谷\"就是指缓冲上下游瞬时突发流量，使其更平滑。特别是对于那种发送能力很强的上游系统，如果没有消息引擎的保护，\"脆弱\"的下游系统可能会直接被压垮导致全链路服务\"雪崩\"。但是，一旦有了消息引擎，它能够有效地对抗上游的流量冲击，真正做到将上游的\"峰\"填满到\"谷\"中，避免了流量的震荡。消息引擎系统的另一大好处在于发送方和接收方的松耦合，这也在一定程度上简化了应用的开发，减少了系统间不必要的交互。",{"type":23,"tag":31,"props":41,"children":42},{},[43],{"type":23,"tag":35,"props":44,"children":45},{},[46],{"type":29,"value":47},"那么问题来了，如何将源库中的全量、增量数据导入至 Kafka 主题中呢？本文章将采用 Kafka connector 的方式连接 MySQL ，来实现端到端的数据同步。",{"type":23,"tag":24,"props":49,"children":51},{"id":50},"jdbc-connector",[52],{"type":29,"value":53},"JDBC Connector",{"type":23,"tag":35,"props":55,"children":56},{},[57,64,66,72,74,79,81,86],{"type":23,"tag":58,"props":59,"children":61},"code",{"className":60},[],[62],{"type":29,"value":63},"JDBC connector",{"type":29,"value":65}," 允许您通过JDBC驱动程序将任何关系型数据库中的数据导入到Kafka的主题Topic中。通过使用JDBC，这个连接器可以支持各种数据库，不需要为每个数据库定制代码。\n通过定期地执行SQL查询语句并为结果集中的每一行创建输出记录来加载数据。 ",{"type":23,"tag":67,"props":68,"children":69},"strong",{},[70],{"type":29,"value":71},"在默认情况下，在一个数据库中的所有表都会被复制，每个表都复制到自己的输出主题",{"type":29,"value":73}," 。数据库那些新的或删除的表被监视并自动适应调整。当从表中复制数据时，连接器可以仅仅加载 ",{"type":23,"tag":67,"props":75,"children":76},{},[77],{"type":29,"value":78},"新增",{"type":29,"value":80}," 或 ",{"type":23,"tag":67,"props":82,"children":83},{},[84],{"type":29,"value":85},"修改",{"type":29,"value":87}," 的行通过指定哪些列应当被用来发现新增或修改的数据。",{"type":23,"tag":24,"props":89,"children":91},{"id":90},"测试环境",[92],{"type":29,"value":90},{"type":23,"tag":94,"props":95,"children":96},"table",{},[97,126],{"type":23,"tag":98,"props":99,"children":100},"thead",{},[101],{"type":23,"tag":102,"props":103,"children":104},"tr",{},[105,111,116,121],{"type":23,"tag":106,"props":107,"children":108},"th",{},[109],{"type":29,"value":110},"IP",{"type":23,"tag":106,"props":112,"children":113},{},[114],{"type":29,"value":115},"操作系统",{"type":23,"tag":106,"props":117,"children":118},{},[119],{"type":29,"value":120},"配置",{"type":23,"tag":106,"props":122,"children":123},{},[124],{"type":29,"value":125},"服务器用途",{"type":23,"tag":127,"props":128,"children":129},"tbody",{},[130,154,174,194],{"type":23,"tag":102,"props":131,"children":132},{},[133,139,144,149],{"type":23,"tag":134,"props":135,"children":136},"td",{},[137],{"type":29,"value":138},"172.21.22.186",{"type":23,"tag":134,"props":140,"children":141},{},[142],{"type":29,"value":143},"CentOS Linux release 7.3.1611 (Core)",{"type":23,"tag":134,"props":145,"children":146},{},[147],{"type":29,"value":148},"4vC\u002F8Gb\u002F400Gb",{"type":23,"tag":134,"props":150,"children":151},{},[152],{"type":29,"value":153},"测试集群",{"type":23,"tag":102,"props":155,"children":156},{},[157,162,166,170],{"type":23,"tag":134,"props":158,"children":159},{},[160],{"type":29,"value":161},"172.21.22.187",{"type":23,"tag":134,"props":163,"children":164},{},[165],{"type":29,"value":143},{"type":23,"tag":134,"props":167,"children":168},{},[169],{"type":29,"value":148},{"type":23,"tag":134,"props":171,"children":172},{},[173],{"type":29,"value":153},{"type":23,"tag":102,"props":175,"children":176},{},[177,182,186,190],{"type":23,"tag":134,"props":178,"children":179},{},[180],{"type":29,"value":181},"172.21.22.188",{"type":23,"tag":134,"props":183,"children":184},{},[185],{"type":29,"value":143},{"type":23,"tag":134,"props":187,"children":188},{},[189],{"type":29,"value":148},{"type":23,"tag":134,"props":191,"children":192},{},[193],{"type":29,"value":153},{"type":23,"tag":102,"props":195,"children":196},{},[197,202,206,210],{"type":23,"tag":134,"props":198,"children":199},{},[200],{"type":29,"value":201},"172.21.23.238",{"type":23,"tag":134,"props":203,"children":204},{},[205],{"type":29,"value":143},{"type":23,"tag":134,"props":207,"children":208},{},[209],{"type":29,"value":148},{"type":23,"tag":134,"props":211,"children":212},{},[213],{"type":29,"value":214},"MySQL\u002F1",{"type":23,"tag":24,"props":216,"children":218},{"id":217},"前置条件",[219],{"type":29,"value":217},{"type":23,"tag":94,"props":221,"children":222},{},[223,248],{"type":23,"tag":98,"props":224,"children":225},{},[226],{"type":23,"tag":102,"props":227,"children":228},{},[229,234,239,244],{"type":23,"tag":106,"props":230,"children":231},{},[232],{"type":29,"value":233},"主机名",{"type":23,"tag":106,"props":235,"children":236},{},[237],{"type":29,"value":238},"JDK",{"type":23,"tag":106,"props":240,"children":241},{},[242],{"type":29,"value":243},"ZK",{"type":23,"tag":106,"props":245,"children":246},{},[247],{"type":29,"value":14},{"type":23,"tag":127,"props":249,"children":250},{},[251,274,294],{"type":23,"tag":102,"props":252,"children":253},{},[254,259,264,269],{"type":23,"tag":134,"props":255,"children":256},{},[257],{"type":29,"value":258},"master",{"type":23,"tag":134,"props":260,"children":261},{},[262],{"type":29,"value":263},"jdk1.8.0_251",{"type":23,"tag":134,"props":265,"children":266},{},[267],{"type":29,"value":268},"zookeeper-3.4.14",{"type":23,"tag":134,"props":270,"children":271},{},[272],{"type":29,"value":273},"kafka_2.11-2.2.0",{"type":23,"tag":102,"props":275,"children":276},{},[277,282,286,290],{"type":23,"tag":134,"props":278,"children":279},{},[280],{"type":29,"value":281},"slave1",{"type":23,"tag":134,"props":283,"children":284},{},[285],{"type":29,"value":263},{"type":23,"tag":134,"props":287,"children":288},{},[289],{"type":29,"value":268},{"type":23,"tag":134,"props":291,"children":292},{},[293],{"type":29,"value":273},{"type":23,"tag":102,"props":295,"children":296},{},[297,302,306,310],{"type":23,"tag":134,"props":298,"children":299},{},[300],{"type":29,"value":301},"slave2",{"type":23,"tag":134,"props":303,"children":304},{},[305],{"type":29,"value":263},{"type":23,"tag":134,"props":307,"children":308},{},[309],{"type":29,"value":268},{"type":23,"tag":134,"props":311,"children":312},{},[313],{"type":29,"value":273},{"type":23,"tag":31,"props":315,"children":316},{},[317],{"type":23,"tag":35,"props":318,"children":319},{},[320,322,328],{"type":29,"value":321},"以下测试请在能够正常生产消费的 ",{"type":23,"tag":58,"props":323,"children":325},{"className":324},[],[326],{"type":29,"value":327},"kafka",{"type":29,"value":329}," 集群中进行",{"type":23,"tag":24,"props":331,"children":333},{"id":332},"_1-incrementing-自增模式",[334],{"type":29,"value":335},"1. incrementing 自增模式",{"type":23,"tag":24,"props":337,"children":339},{"id":338},"准备工作",[340],{"type":29,"value":338},{"type":23,"tag":342,"props":343,"children":344},"ol",{},[345],{"type":23,"tag":346,"props":347,"children":348},"li",{},[349],{"type":29,"value":350},"连接 mysql 创建测试库、表",{"type":23,"tag":352,"props":353,"children":357},"pre",{"className":354,"code":355,"language":356,"meta":7,"style":7},"language-sql shiki shiki-themes github-light github-dark","mysql> create database test_kafka_connector;\nmysql> use test_kafka_connector;\n\n# 创建 `test_kafka_connector` 库 omneo_incrementing测试表\nCREATE TABLE IF NOT EXISTS test_kafka_connector.omneo_incrementing(\n    pid int(11) NOT NULL AUTO_INCREMENT,\n    uuid varchar(100) NOT NULL,\n    firstname varchar(20) CHARACTER SET utf8 DEFAULT NULL,\n    lastname varchar(20) CHARACTER SET utf8 DEFAULT NULL,\n    birthdate varchar(20),\n    postalcode varchar(20),\n    city varchar(20),\n    sexe varchar(20),\n    status varchar(20),\n    PRIMARY KEY (pid)\n)ENGINE=InnoDB DEFAULT CHARSET=utf8;\n\n# 创建 `kafka_connector` 库 kafka_omneo_incrementing测试表\nCREATE TABLE IF NOT EXISTS kafka_connector.kafka_omneo_incrementing(\n    pid int(11) NOT NULL AUTO_INCREMENT,\n    uuid varchar(100) NOT NULL,\n    firstname varchar(20) CHARACTER SET utf8 DEFAULT NULL,\n    lastname varchar(20) CHARACTER SET utf8 DEFAULT NULL,\n    birthdate varchar(20),\n    postalcode varchar(20),\n    city varchar(20),\n    sexe varchar(20),\n    status varchar(20),\n    PRIMARY KEY (pid)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;\n","sql",[358],{"type":23,"tag":58,"props":359,"children":360},{"__ignoreMap":7},[361,394,415,425,445,496,535,571,626,675,701,726,751,776,802,816,853,861,879,921,953,985,1033,1081,1105,1129,1153,1177,1201,1213],{"type":23,"tag":362,"props":363,"children":366},"span",{"class":364,"line":365},"line",1,[367,373,379,384,389],{"type":23,"tag":362,"props":368,"children":370},{"style":369},"--shiki-default:#24292E;--shiki-dark:#E1E4E8",[371],{"type":29,"value":372},"mysql",{"type":23,"tag":362,"props":374,"children":376},{"style":375},"--shiki-default:#D73A49;--shiki-dark:#F97583",[377],{"type":29,"value":378},">",{"type":23,"tag":362,"props":380,"children":381},{"style":375},[382],{"type":29,"value":383}," create",{"type":23,"tag":362,"props":385,"children":386},{"style":375},[387],{"type":29,"value":388}," database",{"type":23,"tag":362,"props":390,"children":391},{"style":369},[392],{"type":29,"value":393}," test_kafka_connector;\n",{"type":23,"tag":362,"props":395,"children":397},{"class":364,"line":396},2,[398,402,406,411],{"type":23,"tag":362,"props":399,"children":400},{"style":369},[401],{"type":29,"value":372},{"type":23,"tag":362,"props":403,"children":404},{"style":375},[405],{"type":29,"value":378},{"type":23,"tag":362,"props":407,"children":408},{"style":375},[409],{"type":29,"value":410}," use",{"type":23,"tag":362,"props":412,"children":413},{"style":369},[414],{"type":29,"value":393},{"type":23,"tag":362,"props":416,"children":418},{"class":364,"line":417},3,[419],{"type":23,"tag":362,"props":420,"children":422},{"emptyLinePlaceholder":421},true,[423],{"type":29,"value":424},"\n",{"type":23,"tag":362,"props":426,"children":428},{"class":364,"line":427},4,[429,434,440],{"type":23,"tag":362,"props":430,"children":431},{"style":369},[432],{"type":29,"value":433},"# 创建 ",{"type":23,"tag":362,"props":435,"children":437},{"style":436},"--shiki-default:#032F62;--shiki-dark:#9ECBFF",[438],{"type":29,"value":439},"`test_kafka_connector`",{"type":23,"tag":362,"props":441,"children":442},{"style":369},[443],{"type":29,"value":444}," 库 omneo_incrementing测试表\n",{"type":23,"tag":362,"props":446,"children":448},{"class":364,"line":447},5,[449,454,459,465,470,475,481,486,491],{"type":23,"tag":362,"props":450,"children":451},{"style":375},[452],{"type":29,"value":453},"CREATE",{"type":23,"tag":362,"props":455,"children":456},{"style":375},[457],{"type":29,"value":458}," TABLE",{"type":23,"tag":362,"props":460,"children":462},{"style":461},"--shiki-default:#6F42C1;--shiki-dark:#B392F0",[463],{"type":29,"value":464}," IF",{"type":23,"tag":362,"props":466,"children":467},{"style":375},[468],{"type":29,"value":469}," NOT",{"type":23,"tag":362,"props":471,"children":472},{"style":375},[473],{"type":29,"value":474}," EXISTS",{"type":23,"tag":362,"props":476,"children":478},{"style":477},"--shiki-default:#005CC5;--shiki-dark:#79B8FF",[479],{"type":29,"value":480}," test_kafka_connector",{"type":23,"tag":362,"props":482,"children":483},{"style":369},[484],{"type":29,"value":485},".",{"type":23,"tag":362,"props":487,"children":488},{"style":477},[489],{"type":29,"value":490},"omneo_incrementing",{"type":23,"tag":362,"props":492,"children":493},{"style":369},[494],{"type":29,"value":495},"(\n",{"type":23,"tag":362,"props":497,"children":499},{"class":364,"line":498},6,[500,505,510,515,520,525,530],{"type":23,"tag":362,"props":501,"children":502},{"style":369},[503],{"type":29,"value":504},"    pid ",{"type":23,"tag":362,"props":506,"children":507},{"style":375},[508],{"type":29,"value":509},"int",{"type":23,"tag":362,"props":511,"children":512},{"style":369},[513],{"type":29,"value":514},"(",{"type":23,"tag":362,"props":516,"children":517},{"style":477},[518],{"type":29,"value":519},"11",{"type":23,"tag":362,"props":521,"children":522},{"style":369},[523],{"type":29,"value":524},") ",{"type":23,"tag":362,"props":526,"children":527},{"style":375},[528],{"type":29,"value":529},"NOT NULL",{"type":23,"tag":362,"props":531,"children":532},{"style":369},[533],{"type":29,"value":534}," AUTO_INCREMENT,\n",{"type":23,"tag":362,"props":536,"children":538},{"class":364,"line":537},7,[539,544,549,553,558,562,566],{"type":23,"tag":362,"props":540,"children":541},{"style":369},[542],{"type":29,"value":543},"    uuid ",{"type":23,"tag":362,"props":545,"children":546},{"style":375},[547],{"type":29,"value":548},"varchar",{"type":23,"tag":362,"props":550,"children":551},{"style":369},[552],{"type":29,"value":514},{"type":23,"tag":362,"props":554,"children":555},{"style":477},[556],{"type":29,"value":557},"100",{"type":23,"tag":362,"props":559,"children":560},{"style":369},[561],{"type":29,"value":524},{"type":23,"tag":362,"props":563,"children":564},{"style":375},[565],{"type":29,"value":529},{"type":23,"tag":362,"props":567,"children":568},{"style":369},[569],{"type":29,"value":570},",\n",{"type":23,"tag":362,"props":572,"children":574},{"class":364,"line":573},8,[575,580,584,588,593,597,602,607,612,617,622],{"type":23,"tag":362,"props":576,"children":577},{"style":369},[578],{"type":29,"value":579},"    firstname ",{"type":23,"tag":362,"props":581,"children":582},{"style":375},[583],{"type":29,"value":548},{"type":23,"tag":362,"props":585,"children":586},{"style":369},[587],{"type":29,"value":514},{"type":23,"tag":362,"props":589,"children":590},{"style":477},[591],{"type":29,"value":592},"20",{"type":23,"tag":362,"props":594,"children":595},{"style":369},[596],{"type":29,"value":524},{"type":23,"tag":362,"props":598,"children":599},{"style":375},[600],{"type":29,"value":601},"CHARACTER",{"type":23,"tag":362,"props":603,"children":604},{"style":375},[605],{"type":29,"value":606}," SET",{"type":23,"tag":362,"props":608,"children":609},{"style":369},[610],{"type":29,"value":611}," utf8 ",{"type":23,"tag":362,"props":613,"children":614},{"style":375},[615],{"type":29,"value":616},"DEFAULT",{"type":23,"tag":362,"props":618,"children":619},{"style":375},[620],{"type":29,"value":621}," NULL",{"type":23,"tag":362,"props":623,"children":624},{"style":369},[625],{"type":29,"value":570},{"type":23,"tag":362,"props":627,"children":629},{"class":364,"line":628},9,[630,635,639,643,647,651,655,659,663,667,671],{"type":23,"tag":362,"props":631,"children":632},{"style":369},[633],{"type":29,"value":634},"    lastname ",{"type":23,"tag":362,"props":636,"children":637},{"style":375},[638],{"type":29,"value":548},{"type":23,"tag":362,"props":640,"children":641},{"style":369},[642],{"type":29,"value":514},{"type":23,"tag":362,"props":644,"children":645},{"style":477},[646],{"type":29,"value":592},{"type":23,"tag":362,"props":648,"children":649},{"style":369},[650],{"type":29,"value":524},{"type":23,"tag":362,"props":652,"children":653},{"style":375},[654],{"type":29,"value":601},{"type":23,"tag":362,"props":656,"children":657},{"style":375},[658],{"type":29,"value":606},{"type":23,"tag":362,"props":660,"children":661},{"style":369},[662],{"type":29,"value":611},{"type":23,"tag":362,"props":664,"children":665},{"style":375},[666],{"type":29,"value":616},{"type":23,"tag":362,"props":668,"children":669},{"style":375},[670],{"type":29,"value":621},{"type":23,"tag":362,"props":672,"children":673},{"style":369},[674],{"type":29,"value":570},{"type":23,"tag":362,"props":676,"children":678},{"class":364,"line":677},10,[679,684,688,692,696],{"type":23,"tag":362,"props":680,"children":681},{"style":369},[682],{"type":29,"value":683},"    birthdate ",{"type":23,"tag":362,"props":685,"children":686},{"style":375},[687],{"type":29,"value":548},{"type":23,"tag":362,"props":689,"children":690},{"style":369},[691],{"type":29,"value":514},{"type":23,"tag":362,"props":693,"children":694},{"style":477},[695],{"type":29,"value":592},{"type":23,"tag":362,"props":697,"children":698},{"style":369},[699],{"type":29,"value":700},"),\n",{"type":23,"tag":362,"props":702,"children":704},{"class":364,"line":703},11,[705,710,714,718,722],{"type":23,"tag":362,"props":706,"children":707},{"style":369},[708],{"type":29,"value":709},"    postalcode ",{"type":23,"tag":362,"props":711,"children":712},{"style":375},[713],{"type":29,"value":548},{"type":23,"tag":362,"props":715,"children":716},{"style":369},[717],{"type":29,"value":514},{"type":23,"tag":362,"props":719,"children":720},{"style":477},[721],{"type":29,"value":592},{"type":23,"tag":362,"props":723,"children":724},{"style":369},[725],{"type":29,"value":700},{"type":23,"tag":362,"props":727,"children":729},{"class":364,"line":728},12,[730,735,739,743,747],{"type":23,"tag":362,"props":731,"children":732},{"style":369},[733],{"type":29,"value":734},"    city ",{"type":23,"tag":362,"props":736,"children":737},{"style":375},[738],{"type":29,"value":548},{"type":23,"tag":362,"props":740,"children":741},{"style":369},[742],{"type":29,"value":514},{"type":23,"tag":362,"props":744,"children":745},{"style":477},[746],{"type":29,"value":592},{"type":23,"tag":362,"props":748,"children":749},{"style":369},[750],{"type":29,"value":700},{"type":23,"tag":362,"props":752,"children":754},{"class":364,"line":753},13,[755,760,764,768,772],{"type":23,"tag":362,"props":756,"children":757},{"style":369},[758],{"type":29,"value":759},"    sexe ",{"type":23,"tag":362,"props":761,"children":762},{"style":375},[763],{"type":29,"value":548},{"type":23,"tag":362,"props":765,"children":766},{"style":369},[767],{"type":29,"value":514},{"type":23,"tag":362,"props":769,"children":770},{"style":477},[771],{"type":29,"value":592},{"type":23,"tag":362,"props":773,"children":774},{"style":369},[775],{"type":29,"value":700},{"type":23,"tag":362,"props":777,"children":779},{"class":364,"line":778},14,[780,785,790,794,798],{"type":23,"tag":362,"props":781,"children":782},{"style":375},[783],{"type":29,"value":784},"    status",{"type":23,"tag":362,"props":786,"children":787},{"style":375},[788],{"type":29,"value":789}," varchar",{"type":23,"tag":362,"props":791,"children":792},{"style":369},[793],{"type":29,"value":514},{"type":23,"tag":362,"props":795,"children":796},{"style":477},[797],{"type":29,"value":592},{"type":23,"tag":362,"props":799,"children":800},{"style":369},[801],{"type":29,"value":700},{"type":23,"tag":362,"props":803,"children":805},{"class":364,"line":804},15,[806,811],{"type":23,"tag":362,"props":807,"children":808},{"style":375},[809],{"type":29,"value":810},"    PRIMARY KEY",{"type":23,"tag":362,"props":812,"children":813},{"style":369},[814],{"type":29,"value":815}," (pid)\n",{"type":23,"tag":362,"props":817,"children":819},{"class":364,"line":818},16,[820,825,830,835,839,844,848],{"type":23,"tag":362,"props":821,"children":822},{"style":369},[823],{"type":29,"value":824},")ENGINE",{"type":23,"tag":362,"props":826,"children":827},{"style":375},[828],{"type":29,"value":829},"=",{"type":23,"tag":362,"props":831,"children":832},{"style":369},[833],{"type":29,"value":834},"InnoDB ",{"type":23,"tag":362,"props":836,"children":837},{"style":375},[838],{"type":29,"value":616},{"type":23,"tag":362,"props":840,"children":841},{"style":369},[842],{"type":29,"value":843}," CHARSET",{"type":23,"tag":362,"props":845,"children":846},{"style":375},[847],{"type":29,"value":829},{"type":23,"tag":362,"props":849,"children":850},{"style":369},[851],{"type":29,"value":852},"utf8;\n",{"type":23,"tag":362,"props":854,"children":856},{"class":364,"line":855},17,[857],{"type":23,"tag":362,"props":858,"children":859},{"emptyLinePlaceholder":421},[860],{"type":29,"value":424},{"type":23,"tag":362,"props":862,"children":864},{"class":364,"line":863},18,[865,869,874],{"type":23,"tag":362,"props":866,"children":867},{"style":369},[868],{"type":29,"value":433},{"type":23,"tag":362,"props":870,"children":871},{"style":436},[872],{"type":29,"value":873},"`kafka_connector`",{"type":23,"tag":362,"props":875,"children":876},{"style":369},[877],{"type":29,"value":878}," 库 kafka_omneo_incrementing测试表\n",{"type":23,"tag":362,"props":880,"children":882},{"class":364,"line":881},19,[883,887,891,895,899,903,908,912,917],{"type":23,"tag":362,"props":884,"children":885},{"style":375},[886],{"type":29,"value":453},{"type":23,"tag":362,"props":888,"children":889},{"style":375},[890],{"type":29,"value":458},{"type":23,"tag":362,"props":892,"children":893},{"style":461},[894],{"type":29,"value":464},{"type":23,"tag":362,"props":896,"children":897},{"style":375},[898],{"type":29,"value":469},{"type":23,"tag":362,"props":900,"children":901},{"style":375},[902],{"type":29,"value":474},{"type":23,"tag":362,"props":904,"children":905},{"style":477},[906],{"type":29,"value":907}," kafka_connector",{"type":23,"tag":362,"props":909,"children":910},{"style":369},[911],{"type":29,"value":485},{"type":23,"tag":362,"props":913,"children":914},{"style":477},[915],{"type":29,"value":916},"kafka_omneo_incrementing",{"type":23,"tag":362,"props":918,"children":919},{"style":369},[920],{"type":29,"value":495},{"type":23,"tag":362,"props":922,"children":924},{"class":364,"line":923},20,[925,929,933,937,941,945,949],{"type":23,"tag":362,"props":926,"children":927},{"style":369},[928],{"type":29,"value":504},{"type":23,"tag":362,"props":930,"children":931},{"style":375},[932],{"type":29,"value":509},{"type":23,"tag":362,"props":934,"children":935},{"style":369},[936],{"type":29,"value":514},{"type":23,"tag":362,"props":938,"children":939},{"style":477},[940],{"type":29,"value":519},{"type":23,"tag":362,"props":942,"children":943},{"style":369},[944],{"type":29,"value":524},{"type":23,"tag":362,"props":946,"children":947},{"style":375},[948],{"type":29,"value":529},{"type":23,"tag":362,"props":950,"children":951},{"style":369},[952],{"type":29,"value":534},{"type":23,"tag":362,"props":954,"children":956},{"class":364,"line":955},21,[957,961,965,969,973,977,981],{"type":23,"tag":362,"props":958,"children":959},{"style":369},[960],{"type":29,"value":543},{"type":23,"tag":362,"props":962,"children":963},{"style":375},[964],{"type":29,"value":548},{"type":23,"tag":362,"props":966,"children":967},{"style":369},[968],{"type":29,"value":514},{"type":23,"tag":362,"props":970,"children":971},{"style":477},[972],{"type":29,"value":557},{"type":23,"tag":362,"props":974,"children":975},{"style":369},[976],{"type":29,"value":524},{"type":23,"tag":362,"props":978,"children":979},{"style":375},[980],{"type":29,"value":529},{"type":23,"tag":362,"props":982,"children":983},{"style":369},[984],{"type":29,"value":570},{"type":23,"tag":362,"props":986,"children":988},{"class":364,"line":987},22,[989,993,997,1001,1005,1009,1013,1017,1021,1025,1029],{"type":23,"tag":362,"props":990,"children":991},{"style":369},[992],{"type":29,"value":579},{"type":23,"tag":362,"props":994,"children":995},{"style":375},[996],{"type":29,"value":548},{"type":23,"tag":362,"props":998,"children":999},{"style":369},[1000],{"type":29,"value":514},{"type":23,"tag":362,"props":1002,"children":1003},{"style":477},[1004],{"type":29,"value":592},{"type":23,"tag":362,"props":1006,"children":1007},{"style":369},[1008],{"type":29,"value":524},{"type":23,"tag":362,"props":1010,"children":1011},{"style":375},[1012],{"type":29,"value":601},{"type":23,"tag":362,"props":1014,"children":1015},{"style":375},[1016],{"type":29,"value":606},{"type":23,"tag":362,"props":1018,"children":1019},{"style":369},[1020],{"type":29,"value":611},{"type":23,"tag":362,"props":1022,"children":1023},{"style":375},[1024],{"type":29,"value":616},{"type":23,"tag":362,"props":1026,"children":1027},{"style":375},[1028],{"type":29,"value":621},{"type":23,"tag":362,"props":1030,"children":1031},{"style":369},[1032],{"type":29,"value":570},{"type":23,"tag":362,"props":1034,"children":1036},{"class":364,"line":1035},23,[1037,1041,1045,1049,1053,1057,1061,1065,1069,1073,1077],{"type":23,"tag":362,"props":1038,"children":1039},{"style":369},[1040],{"type":29,"value":634},{"type":23,"tag":362,"props":1042,"children":1043},{"style":375},[1044],{"type":29,"value":548},{"type":23,"tag":362,"props":1046,"children":1047},{"style":369},[1048],{"type":29,"value":514},{"type":23,"tag":362,"props":1050,"children":1051},{"style":477},[1052],{"type":29,"value":592},{"type":23,"tag":362,"props":1054,"children":1055},{"style":369},[1056],{"type":29,"value":524},{"type":23,"tag":362,"props":1058,"children":1059},{"style":375},[1060],{"type":29,"value":601},{"type":23,"tag":362,"props":1062,"children":1063},{"style":375},[1064],{"type":29,"value":606},{"type":23,"tag":362,"props":1066,"children":1067},{"style":369},[1068],{"type":29,"value":611},{"type":23,"tag":362,"props":1070,"children":1071},{"style":375},[1072],{"type":29,"value":616},{"type":23,"tag":362,"props":1074,"children":1075},{"style":375},[1076],{"type":29,"value":621},{"type":23,"tag":362,"props":1078,"children":1079},{"style":369},[1080],{"type":29,"value":570},{"type":23,"tag":362,"props":1082,"children":1084},{"class":364,"line":1083},24,[1085,1089,1093,1097,1101],{"type":23,"tag":362,"props":1086,"children":1087},{"style":369},[1088],{"type":29,"value":683},{"type":23,"tag":362,"props":1090,"children":1091},{"style":375},[1092],{"type":29,"value":548},{"type":23,"tag":362,"props":1094,"children":1095},{"style":369},[1096],{"type":29,"value":514},{"type":23,"tag":362,"props":1098,"children":1099},{"style":477},[1100],{"type":29,"value":592},{"type":23,"tag":362,"props":1102,"children":1103},{"style":369},[1104],{"type":29,"value":700},{"type":23,"tag":362,"props":1106,"children":1108},{"class":364,"line":1107},25,[1109,1113,1117,1121,1125],{"type":23,"tag":362,"props":1110,"children":1111},{"style":369},[1112],{"type":29,"value":709},{"type":23,"tag":362,"props":1114,"children":1115},{"style":375},[1116],{"type":29,"value":548},{"type":23,"tag":362,"props":1118,"children":1119},{"style":369},[1120],{"type":29,"value":514},{"type":23,"tag":362,"props":1122,"children":1123},{"style":477},[1124],{"type":29,"value":592},{"type":23,"tag":362,"props":1126,"children":1127},{"style":369},[1128],{"type":29,"value":700},{"type":23,"tag":362,"props":1130,"children":1132},{"class":364,"line":1131},26,[1133,1137,1141,1145,1149],{"type":23,"tag":362,"props":1134,"children":1135},{"style":369},[1136],{"type":29,"value":734},{"type":23,"tag":362,"props":1138,"children":1139},{"style":375},[1140],{"type":29,"value":548},{"type":23,"tag":362,"props":1142,"children":1143},{"style":369},[1144],{"type":29,"value":514},{"type":23,"tag":362,"props":1146,"children":1147},{"style":477},[1148],{"type":29,"value":592},{"type":23,"tag":362,"props":1150,"children":1151},{"style":369},[1152],{"type":29,"value":700},{"type":23,"tag":362,"props":1154,"children":1156},{"class":364,"line":1155},27,[1157,1161,1165,1169,1173],{"type":23,"tag":362,"props":1158,"children":1159},{"style":369},[1160],{"type":29,"value":759},{"type":23,"tag":362,"props":1162,"children":1163},{"style":375},[1164],{"type":29,"value":548},{"type":23,"tag":362,"props":1166,"children":1167},{"style":369},[1168],{"type":29,"value":514},{"type":23,"tag":362,"props":1170,"children":1171},{"style":477},[1172],{"type":29,"value":592},{"type":23,"tag":362,"props":1174,"children":1175},{"style":369},[1176],{"type":29,"value":700},{"type":23,"tag":362,"props":1178,"children":1180},{"class":364,"line":1179},28,[1181,1185,1189,1193,1197],{"type":23,"tag":362,"props":1182,"children":1183},{"style":375},[1184],{"type":29,"value":784},{"type":23,"tag":362,"props":1186,"children":1187},{"style":375},[1188],{"type":29,"value":789},{"type":23,"tag":362,"props":1190,"children":1191},{"style":369},[1192],{"type":29,"value":514},{"type":23,"tag":362,"props":1194,"children":1195},{"style":477},[1196],{"type":29,"value":592},{"type":23,"tag":362,"props":1198,"children":1199},{"style":369},[1200],{"type":29,"value":700},{"type":23,"tag":362,"props":1202,"children":1204},{"class":364,"line":1203},29,[1205,1209],{"type":23,"tag":362,"props":1206,"children":1207},{"style":375},[1208],{"type":29,"value":810},{"type":23,"tag":362,"props":1210,"children":1211},{"style":369},[1212],{"type":29,"value":815},{"type":23,"tag":362,"props":1214,"children":1216},{"class":364,"line":1215},30,[1217,1222,1226,1230,1234,1238,1242,1247,1252],{"type":23,"tag":362,"props":1218,"children":1219},{"style":369},[1220],{"type":29,"value":1221},") ENGINE",{"type":23,"tag":362,"props":1223,"children":1224},{"style":375},[1225],{"type":29,"value":829},{"type":23,"tag":362,"props":1227,"children":1228},{"style":369},[1229],{"type":29,"value":834},{"type":23,"tag":362,"props":1231,"children":1232},{"style":375},[1233],{"type":29,"value":616},{"type":23,"tag":362,"props":1235,"children":1236},{"style":369},[1237],{"type":29,"value":843},{"type":23,"tag":362,"props":1239,"children":1240},{"style":375},[1241],{"type":29,"value":829},{"type":23,"tag":362,"props":1243,"children":1244},{"style":369},[1245],{"type":29,"value":1246},"utf8 ",{"type":23,"tag":362,"props":1248,"children":1249},{"style":375},[1250],{"type":29,"value":1251},"COLLATE=",{"type":23,"tag":362,"props":1253,"children":1254},{"style":369},[1255],{"type":29,"value":1256},"utf8_bin;\n",{"type":23,"tag":342,"props":1258,"children":1259},{"start":396},[1260],{"type":23,"tag":346,"props":1261,"children":1262},{},[1263,1265,1271,1273,1279],{"type":29,"value":1264},"切换至 ",{"type":23,"tag":58,"props":1266,"children":1268},{"className":1267},[],[1269],{"type":29,"value":1270},"$KAFKA_HOME\u002Fconfig",{"type":29,"value":1272}," 目录，修改\u002F新增 ",{"type":23,"tag":58,"props":1274,"children":1276},{"className":1275},[],[1277],{"type":29,"value":1278},"source-incrementing-mysql.properties",{"type":29,"value":1280}," ，内容如下：",{"type":23,"tag":352,"props":1282,"children":1286},{"className":1283,"code":1284,"language":1285,"meta":7,"style":7},"language-shell shiki shiki-themes github-light github-dark","name=mysql-a-source-omneo\nconnector.class=io.confluent.connect.jdbc.JdbcSourceConnector\ntasks.max=1\nconnection.url=jdbc:mysql:\u002F\u002F172.21.23.238:3306\u002Ftest_kafka_connector?user=root&password=1qaz@WSX\n# incrementing  自增\nmode=incrementing\n# 自增字段  pid\nincrementing.column.name=pid\n# 白名单表  person\ntable.whitelist=omneo_incrementing\n# topic前缀   mysql-kafka-\ntopic.prefix=mysql-kafka-\n","shell",[1287],{"type":23,"tag":58,"props":1288,"children":1289},{"__ignoreMap":7},[1290,1307,1320,1333,1360,1369,1386,1394,1407,1415,1428,1436],{"type":23,"tag":362,"props":1291,"children":1292},{"class":364,"line":365},[1293,1298,1302],{"type":23,"tag":362,"props":1294,"children":1295},{"style":369},[1296],{"type":29,"value":1297},"name",{"type":23,"tag":362,"props":1299,"children":1300},{"style":375},[1301],{"type":29,"value":829},{"type":23,"tag":362,"props":1303,"children":1304},{"style":436},[1305],{"type":29,"value":1306},"mysql-a-source-omneo\n",{"type":23,"tag":362,"props":1308,"children":1309},{"class":364,"line":396},[1310,1315],{"type":23,"tag":362,"props":1311,"children":1312},{"style":461},[1313],{"type":29,"value":1314},"connector.class",{"type":23,"tag":362,"props":1316,"children":1317},{"style":436},[1318],{"type":29,"value":1319},"=io.confluent.connect.jdbc.JdbcSourceConnector\n",{"type":23,"tag":362,"props":1321,"children":1322},{"class":364,"line":417},[1323,1328],{"type":23,"tag":362,"props":1324,"children":1325},{"style":461},[1326],{"type":29,"value":1327},"tasks.max",{"type":23,"tag":362,"props":1329,"children":1330},{"style":436},[1331],{"type":29,"value":1332},"=1\n",{"type":23,"tag":362,"props":1334,"children":1335},{"class":364,"line":427},[1336,1341,1346,1351,1355],{"type":23,"tag":362,"props":1337,"children":1338},{"style":461},[1339],{"type":29,"value":1340},"connection.url",{"type":23,"tag":362,"props":1342,"children":1343},{"style":436},[1344],{"type":29,"value":1345},"=jdbc:mysql:\u002F\u002F172.21.23.238:3306\u002Ftest_kafka_connector?user=root",{"type":23,"tag":362,"props":1347,"children":1348},{"style":369},[1349],{"type":29,"value":1350},"&password",{"type":23,"tag":362,"props":1352,"children":1353},{"style":375},[1354],{"type":29,"value":829},{"type":23,"tag":362,"props":1356,"children":1357},{"style":436},[1358],{"type":29,"value":1359},"1qaz@WSX\n",{"type":23,"tag":362,"props":1361,"children":1362},{"class":364,"line":447},[1363],{"type":23,"tag":362,"props":1364,"children":1366},{"style":1365},"--shiki-default:#6A737D;--shiki-dark:#6A737D",[1367],{"type":29,"value":1368},"# incrementing  自增\n",{"type":23,"tag":362,"props":1370,"children":1371},{"class":364,"line":498},[1372,1377,1381],{"type":23,"tag":362,"props":1373,"children":1374},{"style":369},[1375],{"type":29,"value":1376},"mode",{"type":23,"tag":362,"props":1378,"children":1379},{"style":375},[1380],{"type":29,"value":829},{"type":23,"tag":362,"props":1382,"children":1383},{"style":436},[1384],{"type":29,"value":1385},"incrementing\n",{"type":23,"tag":362,"props":1387,"children":1388},{"class":364,"line":537},[1389],{"type":23,"tag":362,"props":1390,"children":1391},{"style":1365},[1392],{"type":29,"value":1393},"# 自增字段  pid\n",{"type":23,"tag":362,"props":1395,"children":1396},{"class":364,"line":573},[1397,1402],{"type":23,"tag":362,"props":1398,"children":1399},{"style":461},[1400],{"type":29,"value":1401},"incrementing.column.name",{"type":23,"tag":362,"props":1403,"children":1404},{"style":436},[1405],{"type":29,"value":1406},"=pid\n",{"type":23,"tag":362,"props":1408,"children":1409},{"class":364,"line":628},[1410],{"type":23,"tag":362,"props":1411,"children":1412},{"style":1365},[1413],{"type":29,"value":1414},"# 白名单表  person\n",{"type":23,"tag":362,"props":1416,"children":1417},{"class":364,"line":677},[1418,1423],{"type":23,"tag":362,"props":1419,"children":1420},{"style":461},[1421],{"type":29,"value":1422},"table.whitelist",{"type":23,"tag":362,"props":1424,"children":1425},{"style":436},[1426],{"type":29,"value":1427},"=omneo_incrementing\n",{"type":23,"tag":362,"props":1429,"children":1430},{"class":364,"line":703},[1431],{"type":23,"tag":362,"props":1432,"children":1433},{"style":1365},[1434],{"type":29,"value":1435},"# topic前缀   mysql-kafka-\n",{"type":23,"tag":362,"props":1437,"children":1438},{"class":364,"line":728},[1439,1444],{"type":23,"tag":362,"props":1440,"children":1441},{"style":461},[1442],{"type":29,"value":1443},"topic.prefix",{"type":23,"tag":362,"props":1445,"children":1446},{"style":436},[1447],{"type":29,"value":1448},"=mysql-kafka-\n",{"type":23,"tag":342,"props":1450,"children":1451},{"start":417},[1452],{"type":23,"tag":346,"props":1453,"children":1454},{},[1455,1457,1463],{"type":29,"value":1456},"修改、新增 ",{"type":23,"tag":58,"props":1458,"children":1460},{"className":1459},[],[1461],{"type":29,"value":1462},"sink-incrementing-mysql.properties",{"type":29,"value":1280},{"type":23,"tag":352,"props":1465,"children":1467},{"className":1283,"code":1466,"language":1285,"meta":7,"style":7},"name=mysql-a-sink-omneo\nconnector.class=io.confluent.connect.jdbc.JdbcSinkConnector\ntasks.max=1\n#kafka的topic名称\ntopics=mysql-kafka-omneo_incrementing\n# 配置JDBC链接\nconnection.url=jdbc:mysql:\u002F\u002F172.21.23.238:3306\u002Fkafka_connector?user=root&password=1qaz@WSX\n# 不自动创建表，如果为true，会自动创建表，表名为topic名称\nauto.create=false\n# upsert model更新和插入\ninsert.mode=upsert\n# 下面两个参数配置了以pid为主键更新\npk.mode = record_value\npk.fields = pid\n#表名为kafkatable\ntable.name.format=kafka_omneo_incrementing\n",[1468],{"type":23,"tag":58,"props":1469,"children":1470},{"__ignoreMap":7},[1471,1487,1499,1510,1518,1535,1543,1567,1575,1592,1600,1613,1621,1639,1656,1664],{"type":23,"tag":362,"props":1472,"children":1473},{"class":364,"line":365},[1474,1478,1482],{"type":23,"tag":362,"props":1475,"children":1476},{"style":369},[1477],{"type":29,"value":1297},{"type":23,"tag":362,"props":1479,"children":1480},{"style":375},[1481],{"type":29,"value":829},{"type":23,"tag":362,"props":1483,"children":1484},{"style":436},[1485],{"type":29,"value":1486},"mysql-a-sink-omneo\n",{"type":23,"tag":362,"props":1488,"children":1489},{"class":364,"line":396},[1490,1494],{"type":23,"tag":362,"props":1491,"children":1492},{"style":461},[1493],{"type":29,"value":1314},{"type":23,"tag":362,"props":1495,"children":1496},{"style":436},[1497],{"type":29,"value":1498},"=io.confluent.connect.jdbc.JdbcSinkConnector\n",{"type":23,"tag":362,"props":1500,"children":1501},{"class":364,"line":417},[1502,1506],{"type":23,"tag":362,"props":1503,"children":1504},{"style":461},[1505],{"type":29,"value":1327},{"type":23,"tag":362,"props":1507,"children":1508},{"style":436},[1509],{"type":29,"value":1332},{"type":23,"tag":362,"props":1511,"children":1512},{"class":364,"line":427},[1513],{"type":23,"tag":362,"props":1514,"children":1515},{"style":1365},[1516],{"type":29,"value":1517},"#kafka的topic名称\n",{"type":23,"tag":362,"props":1519,"children":1520},{"class":364,"line":447},[1521,1526,1530],{"type":23,"tag":362,"props":1522,"children":1523},{"style":369},[1524],{"type":29,"value":1525},"topics",{"type":23,"tag":362,"props":1527,"children":1528},{"style":375},[1529],{"type":29,"value":829},{"type":23,"tag":362,"props":1531,"children":1532},{"style":436},[1533],{"type":29,"value":1534},"mysql-kafka-omneo_incrementing\n",{"type":23,"tag":362,"props":1536,"children":1537},{"class":364,"line":498},[1538],{"type":23,"tag":362,"props":1539,"children":1540},{"style":1365},[1541],{"type":29,"value":1542},"# 配置JDBC链接\n",{"type":23,"tag":362,"props":1544,"children":1545},{"class":364,"line":537},[1546,1550,1555,1559,1563],{"type":23,"tag":362,"props":1547,"children":1548},{"style":461},[1549],{"type":29,"value":1340},{"type":23,"tag":362,"props":1551,"children":1552},{"style":436},[1553],{"type":29,"value":1554},"=jdbc:mysql:\u002F\u002F172.21.23.238:3306\u002Fkafka_connector?user=root",{"type":23,"tag":362,"props":1556,"children":1557},{"style":369},[1558],{"type":29,"value":1350},{"type":23,"tag":362,"props":1560,"children":1561},{"style":375},[1562],{"type":29,"value":829},{"type":23,"tag":362,"props":1564,"children":1565},{"style":436},[1566],{"type":29,"value":1359},{"type":23,"tag":362,"props":1568,"children":1569},{"class":364,"line":573},[1570],{"type":23,"tag":362,"props":1571,"children":1572},{"style":1365},[1573],{"type":29,"value":1574},"# 不自动创建表，如果为true，会自动创建表，表名为topic名称\n",{"type":23,"tag":362,"props":1576,"children":1577},{"class":364,"line":628},[1578,1583,1587],{"type":23,"tag":362,"props":1579,"children":1580},{"style":461},[1581],{"type":29,"value":1582},"auto.create",{"type":23,"tag":362,"props":1584,"children":1585},{"style":436},[1586],{"type":29,"value":829},{"type":23,"tag":362,"props":1588,"children":1589},{"style":477},[1590],{"type":29,"value":1591},"false\n",{"type":23,"tag":362,"props":1593,"children":1594},{"class":364,"line":677},[1595],{"type":23,"tag":362,"props":1596,"children":1597},{"style":1365},[1598],{"type":29,"value":1599},"# upsert model更新和插入\n",{"type":23,"tag":362,"props":1601,"children":1602},{"class":364,"line":703},[1603,1608],{"type":23,"tag":362,"props":1604,"children":1605},{"style":461},[1606],{"type":29,"value":1607},"insert.mode",{"type":23,"tag":362,"props":1609,"children":1610},{"style":436},[1611],{"type":29,"value":1612},"=upsert\n",{"type":23,"tag":362,"props":1614,"children":1615},{"class":364,"line":728},[1616],{"type":23,"tag":362,"props":1617,"children":1618},{"style":1365},[1619],{"type":29,"value":1620},"# 下面两个参数配置了以pid为主键更新\n",{"type":23,"tag":362,"props":1622,"children":1623},{"class":364,"line":753},[1624,1629,1634],{"type":23,"tag":362,"props":1625,"children":1626},{"style":461},[1627],{"type":29,"value":1628},"pk.mode",{"type":23,"tag":362,"props":1630,"children":1631},{"style":436},[1632],{"type":29,"value":1633}," =",{"type":23,"tag":362,"props":1635,"children":1636},{"style":436},[1637],{"type":29,"value":1638}," record_value\n",{"type":23,"tag":362,"props":1640,"children":1641},{"class":364,"line":778},[1642,1647,1651],{"type":23,"tag":362,"props":1643,"children":1644},{"style":461},[1645],{"type":29,"value":1646},"pk.fields",{"type":23,"tag":362,"props":1648,"children":1649},{"style":436},[1650],{"type":29,"value":1633},{"type":23,"tag":362,"props":1652,"children":1653},{"style":436},[1654],{"type":29,"value":1655}," pid\n",{"type":23,"tag":362,"props":1657,"children":1658},{"class":364,"line":804},[1659],{"type":23,"tag":362,"props":1660,"children":1661},{"style":1365},[1662],{"type":29,"value":1663},"#表名为kafkatable\n",{"type":23,"tag":362,"props":1665,"children":1666},{"class":364,"line":818},[1667,1672],{"type":23,"tag":362,"props":1668,"children":1669},{"style":461},[1670],{"type":29,"value":1671},"table.name.format",{"type":23,"tag":362,"props":1673,"children":1674},{"style":436},[1675],{"type":29,"value":1676},"=kafka_omneo_incrementing\n",{"type":23,"tag":342,"props":1678,"children":1679},{"start":427},[1680],{"type":23,"tag":346,"props":1681,"children":1682},{},[1683,1685,1690,1692,1698],{"type":29,"value":1684},"创建 ",{"type":23,"tag":67,"props":1686,"children":1687},{},[1688],{"type":29,"value":1689},"kafka topic",{"type":29,"value":1691}," ",{"type":23,"tag":58,"props":1693,"children":1695},{"className":1694},[],[1696],{"type":29,"value":1697},"mysql-kafka-omneo-incrementing",{"type":29,"value":1699}," ，命令如下",{"type":23,"tag":352,"props":1701,"children":1703},{"className":1283,"code":1702,"language":1285,"meta":7,"style":7},"kafka-topics.sh --create --zookeeper master:2181 --replication-factor 1 --partitions 1 --topic mysql-kafka-omneo-incrementing\n",[1704],{"type":23,"tag":58,"props":1705,"children":1706},{"__ignoreMap":7},[1707],{"type":23,"tag":362,"props":1708,"children":1709},{"class":364,"line":365},[1710,1715,1720,1725,1730,1735,1740,1745,1749,1754],{"type":23,"tag":362,"props":1711,"children":1712},{"style":461},[1713],{"type":29,"value":1714},"kafka-topics.sh",{"type":23,"tag":362,"props":1716,"children":1717},{"style":477},[1718],{"type":29,"value":1719}," --create",{"type":23,"tag":362,"props":1721,"children":1722},{"style":477},[1723],{"type":29,"value":1724}," --zookeeper",{"type":23,"tag":362,"props":1726,"children":1727},{"style":436},[1728],{"type":29,"value":1729}," master:2181",{"type":23,"tag":362,"props":1731,"children":1732},{"style":477},[1733],{"type":29,"value":1734}," --replication-factor",{"type":23,"tag":362,"props":1736,"children":1737},{"style":477},[1738],{"type":29,"value":1739}," 1",{"type":23,"tag":362,"props":1741,"children":1742},{"style":477},[1743],{"type":29,"value":1744}," --partitions",{"type":23,"tag":362,"props":1746,"children":1747},{"style":477},[1748],{"type":29,"value":1739},{"type":23,"tag":362,"props":1750,"children":1751},{"style":477},[1752],{"type":29,"value":1753}," --topic",{"type":23,"tag":362,"props":1755,"children":1756},{"style":436},[1757],{"type":29,"value":1758}," mysql-kafka-omneo-incrementing\n",{"type":23,"tag":342,"props":1760,"children":1761},{"start":447},[1762],{"type":23,"tag":346,"props":1763,"children":1764},{},[1765,1767,1773],{"type":29,"value":1766},"启动 ",{"type":23,"tag":58,"props":1768,"children":1770},{"className":1769},[],[1771],{"type":29,"value":1772},"kafka connect",{"type":29,"value":1699},{"type":23,"tag":352,"props":1775,"children":1777},{"className":1283,"code":1776,"language":1285,"meta":7,"style":7},"connect-standalone.sh $KAFKA_HOME\u002Fconfig\u002Fconnect-standalone.properties $KAFKA_HOME\u002Fconfig\u002Fsource-incrementing-mysql.properties $KAFKA_HOME\u002Fconfig\u002Fsink-incrementing-mysql.properties\n",[1778],{"type":23,"tag":58,"props":1779,"children":1780},{"__ignoreMap":7},[1781],{"type":23,"tag":362,"props":1782,"children":1783},{"class":364,"line":365},[1784,1789,1794,1799,1803,1808,1812],{"type":23,"tag":362,"props":1785,"children":1786},{"style":461},[1787],{"type":29,"value":1788},"connect-standalone.sh",{"type":23,"tag":362,"props":1790,"children":1791},{"style":369},[1792],{"type":29,"value":1793}," $KAFKA_HOME",{"type":23,"tag":362,"props":1795,"children":1796},{"style":436},[1797],{"type":29,"value":1798},"\u002Fconfig\u002Fconnect-standalone.properties",{"type":23,"tag":362,"props":1800,"children":1801},{"style":369},[1802],{"type":29,"value":1793},{"type":23,"tag":362,"props":1804,"children":1805},{"style":436},[1806],{"type":29,"value":1807},"\u002Fconfig\u002Fsource-incrementing-mysql.properties",{"type":23,"tag":362,"props":1809,"children":1810},{"style":369},[1811],{"type":29,"value":1793},{"type":23,"tag":362,"props":1813,"children":1814},{"style":436},[1815],{"type":29,"value":1816},"\u002Fconfig\u002Fsink-incrementing-mysql.properties\n",{"type":23,"tag":35,"props":1818,"children":1819},{},[1820],{"type":29,"value":1821},"启动成功如下图所示",{"type":23,"tag":35,"props":1823,"children":1824},{},[1825],{"type":23,"tag":1826,"props":1827,"children":1829},"img",{"alt":7,"src":1828},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-1fb3ed113eb6fb2a.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":23,"tag":342,"props":1831,"children":1832},{"start":498},[1833],{"type":23,"tag":346,"props":1834,"children":1835},{},[1836,1838,1844],{"type":29,"value":1837},"向 ",{"type":23,"tag":58,"props":1839,"children":1841},{"className":1840},[],[1842],{"type":29,"value":1843},"test_kafka_connector.omneo_incrementing",{"type":29,"value":1845}," 插入10条测试数据",{"type":23,"tag":352,"props":1847,"children":1849},{"className":354,"code":1848,"language":356,"meta":7,"style":7},"insert into omneo_incrementing(pid, uuid, firstname, lastname, birthdate, postalcode, city, sexe, status) values(1,'3280983542a7-5bdb-d564-3133-276ae3ce','Nicole','Spaggiari','06\u002F03\u002F1942','34270','Miami','female','maried');\ninsert into omneo_incrementing(pid, uuid, firstname, lastname, birthdate, postalcode, city, sexe, status) values(2,'9089753542a7-5bdb-d564-3133-276ae3ce','Gaelle','O''Dell','23\u002F09\u002F2002','05274','Ottawa','unknown','en couple');\ninsert into omneo_incrementing(pid, uuid, firstname, lastname, birthdate, postalcode, city, sexe, status) values(3,'8939383542a7-5bdb-d564-3133-276ae3ce','Kevin','Spaggiari','23\u002F05\u002F1965','H2M1N6','Maugio','unknown','single');\ninsert into omneo_incrementing(pid, uuid, firstname, lastname, birthdate, postalcode, city, sexe, status) values(4,'8379693542a7-5bdb-d564-3133-276ae3ce','Gauthier','O''Dell','30\u002F06\u002F1998','05274','Cocagne','male','maried');\ninsert into omneo_incrementing(pid, uuid, firstname, lastname, birthdate, postalcode, city, sexe, status) values(5,'9186073542a7-5bdb-d564-3133-276ae3ce','Gauthier','Garbuet','20\u002F03\u002F2000','34920','Ballancourt','female','en couple');\ninsert into omneo_incrementing(pid, uuid, firstname, lastname, birthdate, postalcode, city, sexe, status) values(6,'8983983542a7-5bdb-d564-3133-276ae3ce','Gaelle','Berrouard','20\u002F05\u002F1946','91610','Cocagne','female','en couple');\ninsert into omneo_incrementing(pid, uuid, firstname, lastname, birthdate, postalcode, city, sexe, status) values(7,'4518023542a7-5bdb-d564-3133-276ae3ce','Nicole','Spaggiari','30\u002F06\u002F1998','34920','Le Cres','male','veuve');\ninsert into omneo_incrementing(pid, uuid, firstname, lastname, birthdate, postalcode, city, sexe, status) values(8,'9721973542a7-5bdb-d564-3133-276ae3ce','Maurice','Berrouard','23\u002F05\u002F1965','H2M1N6','Ballancourt','male','en couple');\ninsert into omneo_incrementing(pid, uuid, firstname, lastname, birthdate, postalcode, city, sexe, status) values(9,'4037673542a7-5bdb-d564-3133-276ae3ce','Gaelle','Berrouard','30\u002F06\u002F1998','H2M2V5','Ballancourt','male','single');\n",[1850],{"type":23,"tag":58,"props":1851,"children":1852},{"__ignoreMap":7},[1853,1967,2075,2181,2286,2391,2495,2598,2700],{"type":23,"tag":362,"props":1854,"children":1855},{"class":364,"line":365},[1856,1861,1866,1871,1875,1880,1884,1889,1894,1899,1903,1908,1912,1917,1921,1926,1930,1935,1939,1944,1948,1953,1957,1962],{"type":23,"tag":362,"props":1857,"children":1858},{"style":375},[1859],{"type":29,"value":1860},"insert into",{"type":23,"tag":362,"props":1862,"children":1863},{"style":369},[1864],{"type":29,"value":1865}," omneo_incrementing(pid, uuid, firstname, lastname, birthdate, postalcode, city, sexe, ",{"type":23,"tag":362,"props":1867,"children":1868},{"style":375},[1869],{"type":29,"value":1870},"status",{"type":23,"tag":362,"props":1872,"children":1873},{"style":369},[1874],{"type":29,"value":524},{"type":23,"tag":362,"props":1876,"children":1877},{"style":375},[1878],{"type":29,"value":1879},"values",{"type":23,"tag":362,"props":1881,"children":1882},{"style":369},[1883],{"type":29,"value":514},{"type":23,"tag":362,"props":1885,"children":1886},{"style":477},[1887],{"type":29,"value":1888},"1",{"type":23,"tag":362,"props":1890,"children":1891},{"style":369},[1892],{"type":29,"value":1893},",",{"type":23,"tag":362,"props":1895,"children":1896},{"style":436},[1897],{"type":29,"value":1898},"'3280983542a7-5bdb-d564-3133-276ae3ce'",{"type":23,"tag":362,"props":1900,"children":1901},{"style":369},[1902],{"type":29,"value":1893},{"type":23,"tag":362,"props":1904,"children":1905},{"style":436},[1906],{"type":29,"value":1907},"'Nicole'",{"type":23,"tag":362,"props":1909,"children":1910},{"style":369},[1911],{"type":29,"value":1893},{"type":23,"tag":362,"props":1913,"children":1914},{"style":436},[1915],{"type":29,"value":1916},"'Spaggiari'",{"type":23,"tag":362,"props":1918,"children":1919},{"style":369},[1920],{"type":29,"value":1893},{"type":23,"tag":362,"props":1922,"children":1923},{"style":436},[1924],{"type":29,"value":1925},"'06\u002F03\u002F1942'",{"type":23,"tag":362,"props":1927,"children":1928},{"style":369},[1929],{"type":29,"value":1893},{"type":23,"tag":362,"props":1931,"children":1932},{"style":436},[1933],{"type":29,"value":1934},"'34270'",{"type":23,"tag":362,"props":1936,"children":1937},{"style":369},[1938],{"type":29,"value":1893},{"type":23,"tag":362,"props":1940,"children":1941},{"style":436},[1942],{"type":29,"value":1943},"'Miami'",{"type":23,"tag":362,"props":1945,"children":1946},{"style":369},[1947],{"type":29,"value":1893},{"type":23,"tag":362,"props":1949,"children":1950},{"style":436},[1951],{"type":29,"value":1952},"'female'",{"type":23,"tag":362,"props":1954,"children":1955},{"style":369},[1956],{"type":29,"value":1893},{"type":23,"tag":362,"props":1958,"children":1959},{"style":436},[1960],{"type":29,"value":1961},"'maried'",{"type":23,"tag":362,"props":1963,"children":1964},{"style":369},[1965],{"type":29,"value":1966},");\n",{"type":23,"tag":362,"props":1968,"children":1969},{"class":364,"line":396},[1970,1974,1978,1982,1986,1990,1994,1999,2003,2008,2012,2017,2021,2026,2030,2035,2039,2044,2048,2053,2057,2062,2066,2071],{"type":23,"tag":362,"props":1971,"children":1972},{"style":375},[1973],{"type":29,"value":1860},{"type":23,"tag":362,"props":1975,"children":1976},{"style":369},[1977],{"type":29,"value":1865},{"type":23,"tag":362,"props":1979,"children":1980},{"style":375},[1981],{"type":29,"value":1870},{"type":23,"tag":362,"props":1983,"children":1984},{"style":369},[1985],{"type":29,"value":524},{"type":23,"tag":362,"props":1987,"children":1988},{"style":375},[1989],{"type":29,"value":1879},{"type":23,"tag":362,"props":1991,"children":1992},{"style":369},[1993],{"type":29,"value":514},{"type":23,"tag":362,"props":1995,"children":1996},{"style":477},[1997],{"type":29,"value":1998},"2",{"type":23,"tag":362,"props":2000,"children":2001},{"style":369},[2002],{"type":29,"value":1893},{"type":23,"tag":362,"props":2004,"children":2005},{"style":436},[2006],{"type":29,"value":2007},"'9089753542a7-5bdb-d564-3133-276ae3ce'",{"type":23,"tag":362,"props":2009,"children":2010},{"style":369},[2011],{"type":29,"value":1893},{"type":23,"tag":362,"props":2013,"children":2014},{"style":436},[2015],{"type":29,"value":2016},"'Gaelle'",{"type":23,"tag":362,"props":2018,"children":2019},{"style":369},[2020],{"type":29,"value":1893},{"type":23,"tag":362,"props":2022,"children":2023},{"style":436},[2024],{"type":29,"value":2025},"'O''Dell'",{"type":23,"tag":362,"props":2027,"children":2028},{"style":369},[2029],{"type":29,"value":1893},{"type":23,"tag":362,"props":2031,"children":2032},{"style":436},[2033],{"type":29,"value":2034},"'23\u002F09\u002F2002'",{"type":23,"tag":362,"props":2036,"children":2037},{"style":369},[2038],{"type":29,"value":1893},{"type":23,"tag":362,"props":2040,"children":2041},{"style":436},[2042],{"type":29,"value":2043},"'05274'",{"type":23,"tag":362,"props":2045,"children":2046},{"style":369},[2047],{"type":29,"value":1893},{"type":23,"tag":362,"props":2049,"children":2050},{"style":436},[2051],{"type":29,"value":2052},"'Ottawa'",{"type":23,"tag":362,"props":2054,"children":2055},{"style":369},[2056],{"type":29,"value":1893},{"type":23,"tag":362,"props":2058,"children":2059},{"style":436},[2060],{"type":29,"value":2061},"'unknown'",{"type":23,"tag":362,"props":2063,"children":2064},{"style":369},[2065],{"type":29,"value":1893},{"type":23,"tag":362,"props":2067,"children":2068},{"style":436},[2069],{"type":29,"value":2070},"'en couple'",{"type":23,"tag":362,"props":2072,"children":2073},{"style":369},[2074],{"type":29,"value":1966},{"type":23,"tag":362,"props":2076,"children":2077},{"class":364,"line":417},[2078,2082,2086,2090,2094,2098,2102,2107,2111,2116,2120,2125,2129,2133,2137,2142,2146,2151,2155,2160,2164,2168,2172,2177],{"type":23,"tag":362,"props":2079,"children":2080},{"style":375},[2081],{"type":29,"value":1860},{"type":23,"tag":362,"props":2083,"children":2084},{"style":369},[2085],{"type":29,"value":1865},{"type":23,"tag":362,"props":2087,"children":2088},{"style":375},[2089],{"type":29,"value":1870},{"type":23,"tag":362,"props":2091,"children":2092},{"style":369},[2093],{"type":29,"value":524},{"type":23,"tag":362,"props":2095,"children":2096},{"style":375},[2097],{"type":29,"value":1879},{"type":23,"tag":362,"props":2099,"children":2100},{"style":369},[2101],{"type":29,"value":514},{"type":23,"tag":362,"props":2103,"children":2104},{"style":477},[2105],{"type":29,"value":2106},"3",{"type":23,"tag":362,"props":2108,"children":2109},{"style":369},[2110],{"type":29,"value":1893},{"type":23,"tag":362,"props":2112,"children":2113},{"style":436},[2114],{"type":29,"value":2115},"'8939383542a7-5bdb-d564-3133-276ae3ce'",{"type":23,"tag":362,"props":2117,"children":2118},{"style":369},[2119],{"type":29,"value":1893},{"type":23,"tag":362,"props":2121,"children":2122},{"style":436},[2123],{"type":29,"value":2124},"'Kevin'",{"type":23,"tag":362,"props":2126,"children":2127},{"style":369},[2128],{"type":29,"value":1893},{"type":23,"tag":362,"props":2130,"children":2131},{"style":436},[2132],{"type":29,"value":1916},{"type":23,"tag":362,"props":2134,"children":2135},{"style":369},[2136],{"type":29,"value":1893},{"type":23,"tag":362,"props":2138,"children":2139},{"style":436},[2140],{"type":29,"value":2141},"'23\u002F05\u002F1965'",{"type":23,"tag":362,"props":2143,"children":2144},{"style":369},[2145],{"type":29,"value":1893},{"type":23,"tag":362,"props":2147,"children":2148},{"style":436},[2149],{"type":29,"value":2150},"'H2M1N6'",{"type":23,"tag":362,"props":2152,"children":2153},{"style":369},[2154],{"type":29,"value":1893},{"type":23,"tag":362,"props":2156,"children":2157},{"style":436},[2158],{"type":29,"value":2159},"'Maugio'",{"type":23,"tag":362,"props":2161,"children":2162},{"style":369},[2163],{"type":29,"value":1893},{"type":23,"tag":362,"props":2165,"children":2166},{"style":436},[2167],{"type":29,"value":2061},{"type":23,"tag":362,"props":2169,"children":2170},{"style":369},[2171],{"type":29,"value":1893},{"type":23,"tag":362,"props":2173,"children":2174},{"style":436},[2175],{"type":29,"value":2176},"'single'",{"type":23,"tag":362,"props":2178,"children":2179},{"style":369},[2180],{"type":29,"value":1966},{"type":23,"tag":362,"props":2182,"children":2183},{"class":364,"line":427},[2184,2188,2192,2196,2200,2204,2208,2213,2217,2222,2226,2231,2235,2239,2243,2248,2252,2256,2260,2265,2269,2274,2278,2282],{"type":23,"tag":362,"props":2185,"children":2186},{"style":375},[2187],{"type":29,"value":1860},{"type":23,"tag":362,"props":2189,"children":2190},{"style":369},[2191],{"type":29,"value":1865},{"type":23,"tag":362,"props":2193,"children":2194},{"style":375},[2195],{"type":29,"value":1870},{"type":23,"tag":362,"props":2197,"children":2198},{"style":369},[2199],{"type":29,"value":524},{"type":23,"tag":362,"props":2201,"children":2202},{"style":375},[2203],{"type":29,"value":1879},{"type":23,"tag":362,"props":2205,"children":2206},{"style":369},[2207],{"type":29,"value":514},{"type":23,"tag":362,"props":2209,"children":2210},{"style":477},[2211],{"type":29,"value":2212},"4",{"type":23,"tag":362,"props":2214,"children":2215},{"style":369},[2216],{"type":29,"value":1893},{"type":23,"tag":362,"props":2218,"children":2219},{"style":436},[2220],{"type":29,"value":2221},"'8379693542a7-5bdb-d564-3133-276ae3ce'",{"type":23,"tag":362,"props":2223,"children":2224},{"style":369},[2225],{"type":29,"value":1893},{"type":23,"tag":362,"props":2227,"children":2228},{"style":436},[2229],{"type":29,"value":2230},"'Gauthier'",{"type":23,"tag":362,"props":2232,"children":2233},{"style":369},[2234],{"type":29,"value":1893},{"type":23,"tag":362,"props":2236,"children":2237},{"style":436},[2238],{"type":29,"value":2025},{"type":23,"tag":362,"props":2240,"children":2241},{"style":369},[2242],{"type":29,"value":1893},{"type":23,"tag":362,"props":2244,"children":2245},{"style":436},[2246],{"type":29,"value":2247},"'30\u002F06\u002F1998'",{"type":23,"tag":362,"props":2249,"children":2250},{"style":369},[2251],{"type":29,"value":1893},{"type":23,"tag":362,"props":2253,"children":2254},{"style":436},[2255],{"type":29,"value":2043},{"type":23,"tag":362,"props":2257,"children":2258},{"style":369},[2259],{"type":29,"value":1893},{"type":23,"tag":362,"props":2261,"children":2262},{"style":436},[2263],{"type":29,"value":2264},"'Cocagne'",{"type":23,"tag":362,"props":2266,"children":2267},{"style":369},[2268],{"type":29,"value":1893},{"type":23,"tag":362,"props":2270,"children":2271},{"style":436},[2272],{"type":29,"value":2273},"'male'",{"type":23,"tag":362,"props":2275,"children":2276},{"style":369},[2277],{"type":29,"value":1893},{"type":23,"tag":362,"props":2279,"children":2280},{"style":436},[2281],{"type":29,"value":1961},{"type":23,"tag":362,"props":2283,"children":2284},{"style":369},[2285],{"type":29,"value":1966},{"type":23,"tag":362,"props":2287,"children":2288},{"class":364,"line":447},[2289,2293,2297,2301,2305,2309,2313,2318,2322,2327,2331,2335,2339,2344,2348,2353,2357,2362,2366,2371,2375,2379,2383,2387],{"type":23,"tag":362,"props":2290,"children":2291},{"style":375},[2292],{"type":29,"value":1860},{"type":23,"tag":362,"props":2294,"children":2295},{"style":369},[2296],{"type":29,"value":1865},{"type":23,"tag":362,"props":2298,"children":2299},{"style":375},[2300],{"type":29,"value":1870},{"type":23,"tag":362,"props":2302,"children":2303},{"style":369},[2304],{"type":29,"value":524},{"type":23,"tag":362,"props":2306,"children":2307},{"style":375},[2308],{"type":29,"value":1879},{"type":23,"tag":362,"props":2310,"children":2311},{"style":369},[2312],{"type":29,"value":514},{"type":23,"tag":362,"props":2314,"children":2315},{"style":477},[2316],{"type":29,"value":2317},"5",{"type":23,"tag":362,"props":2319,"children":2320},{"style":369},[2321],{"type":29,"value":1893},{"type":23,"tag":362,"props":2323,"children":2324},{"style":436},[2325],{"type":29,"value":2326},"'9186073542a7-5bdb-d564-3133-276ae3ce'",{"type":23,"tag":362,"props":2328,"children":2329},{"style":369},[2330],{"type":29,"value":1893},{"type":23,"tag":362,"props":2332,"children":2333},{"style":436},[2334],{"type":29,"value":2230},{"type":23,"tag":362,"props":2336,"children":2337},{"style":369},[2338],{"type":29,"value":1893},{"type":23,"tag":362,"props":2340,"children":2341},{"style":436},[2342],{"type":29,"value":2343},"'Garbuet'",{"type":23,"tag":362,"props":2345,"children":2346},{"style":369},[2347],{"type":29,"value":1893},{"type":23,"tag":362,"props":2349,"children":2350},{"style":436},[2351],{"type":29,"value":2352},"'20\u002F03\u002F2000'",{"type":23,"tag":362,"props":2354,"children":2355},{"style":369},[2356],{"type":29,"value":1893},{"type":23,"tag":362,"props":2358,"children":2359},{"style":436},[2360],{"type":29,"value":2361},"'34920'",{"type":23,"tag":362,"props":2363,"children":2364},{"style":369},[2365],{"type":29,"value":1893},{"type":23,"tag":362,"props":2367,"children":2368},{"style":436},[2369],{"type":29,"value":2370},"'Ballancourt'",{"type":23,"tag":362,"props":2372,"children":2373},{"style":369},[2374],{"type":29,"value":1893},{"type":23,"tag":362,"props":2376,"children":2377},{"style":436},[2378],{"type":29,"value":1952},{"type":23,"tag":362,"props":2380,"children":2381},{"style":369},[2382],{"type":29,"value":1893},{"type":23,"tag":362,"props":2384,"children":2385},{"style":436},[2386],{"type":29,"value":2070},{"type":23,"tag":362,"props":2388,"children":2389},{"style":369},[2390],{"type":29,"value":1966},{"type":23,"tag":362,"props":2392,"children":2393},{"class":364,"line":498},[2394,2398,2402,2406,2410,2414,2418,2423,2427,2432,2436,2440,2444,2449,2453,2458,2462,2467,2471,2475,2479,2483,2487,2491],{"type":23,"tag":362,"props":2395,"children":2396},{"style":375},[2397],{"type":29,"value":1860},{"type":23,"tag":362,"props":2399,"children":2400},{"style":369},[2401],{"type":29,"value":1865},{"type":23,"tag":362,"props":2403,"children":2404},{"style":375},[2405],{"type":29,"value":1870},{"type":23,"tag":362,"props":2407,"children":2408},{"style":369},[2409],{"type":29,"value":524},{"type":23,"tag":362,"props":2411,"children":2412},{"style":375},[2413],{"type":29,"value":1879},{"type":23,"tag":362,"props":2415,"children":2416},{"style":369},[2417],{"type":29,"value":514},{"type":23,"tag":362,"props":2419,"children":2420},{"style":477},[2421],{"type":29,"value":2422},"6",{"type":23,"tag":362,"props":2424,"children":2425},{"style":369},[2426],{"type":29,"value":1893},{"type":23,"tag":362,"props":2428,"children":2429},{"style":436},[2430],{"type":29,"value":2431},"'8983983542a7-5bdb-d564-3133-276ae3ce'",{"type":23,"tag":362,"props":2433,"children":2434},{"style":369},[2435],{"type":29,"value":1893},{"type":23,"tag":362,"props":2437,"children":2438},{"style":436},[2439],{"type":29,"value":2016},{"type":23,"tag":362,"props":2441,"children":2442},{"style":369},[2443],{"type":29,"value":1893},{"type":23,"tag":362,"props":2445,"children":2446},{"style":436},[2447],{"type":29,"value":2448},"'Berrouard'",{"type":23,"tag":362,"props":2450,"children":2451},{"style":369},[2452],{"type":29,"value":1893},{"type":23,"tag":362,"props":2454,"children":2455},{"style":436},[2456],{"type":29,"value":2457},"'20\u002F05\u002F1946'",{"type":23,"tag":362,"props":2459,"children":2460},{"style":369},[2461],{"type":29,"value":1893},{"type":23,"tag":362,"props":2463,"children":2464},{"style":436},[2465],{"type":29,"value":2466},"'91610'",{"type":23,"tag":362,"props":2468,"children":2469},{"style":369},[2470],{"type":29,"value":1893},{"type":23,"tag":362,"props":2472,"children":2473},{"style":436},[2474],{"type":29,"value":2264},{"type":23,"tag":362,"props":2476,"children":2477},{"style":369},[2478],{"type":29,"value":1893},{"type":23,"tag":362,"props":2480,"children":2481},{"style":436},[2482],{"type":29,"value":1952},{"type":23,"tag":362,"props":2484,"children":2485},{"style":369},[2486],{"type":29,"value":1893},{"type":23,"tag":362,"props":2488,"children":2489},{"style":436},[2490],{"type":29,"value":2070},{"type":23,"tag":362,"props":2492,"children":2493},{"style":369},[2494],{"type":29,"value":1966},{"type":23,"tag":362,"props":2496,"children":2497},{"class":364,"line":537},[2498,2502,2506,2510,2514,2518,2522,2527,2531,2536,2540,2544,2548,2552,2556,2560,2564,2568,2572,2577,2581,2585,2589,2594],{"type":23,"tag":362,"props":2499,"children":2500},{"style":375},[2501],{"type":29,"value":1860},{"type":23,"tag":362,"props":2503,"children":2504},{"style":369},[2505],{"type":29,"value":1865},{"type":23,"tag":362,"props":2507,"children":2508},{"style":375},[2509],{"type":29,"value":1870},{"type":23,"tag":362,"props":2511,"children":2512},{"style":369},[2513],{"type":29,"value":524},{"type":23,"tag":362,"props":2515,"children":2516},{"style":375},[2517],{"type":29,"value":1879},{"type":23,"tag":362,"props":2519,"children":2520},{"style":369},[2521],{"type":29,"value":514},{"type":23,"tag":362,"props":2523,"children":2524},{"style":477},[2525],{"type":29,"value":2526},"7",{"type":23,"tag":362,"props":2528,"children":2529},{"style":369},[2530],{"type":29,"value":1893},{"type":23,"tag":362,"props":2532,"children":2533},{"style":436},[2534],{"type":29,"value":2535},"'4518023542a7-5bdb-d564-3133-276ae3ce'",{"type":23,"tag":362,"props":2537,"children":2538},{"style":369},[2539],{"type":29,"value":1893},{"type":23,"tag":362,"props":2541,"children":2542},{"style":436},[2543],{"type":29,"value":1907},{"type":23,"tag":362,"props":2545,"children":2546},{"style":369},[2547],{"type":29,"value":1893},{"type":23,"tag":362,"props":2549,"children":2550},{"style":436},[2551],{"type":29,"value":1916},{"type":23,"tag":362,"props":2553,"children":2554},{"style":369},[2555],{"type":29,"value":1893},{"type":23,"tag":362,"props":2557,"children":2558},{"style":436},[2559],{"type":29,"value":2247},{"type":23,"tag":362,"props":2561,"children":2562},{"style":369},[2563],{"type":29,"value":1893},{"type":23,"tag":362,"props":2565,"children":2566},{"style":436},[2567],{"type":29,"value":2361},{"type":23,"tag":362,"props":2569,"children":2570},{"style":369},[2571],{"type":29,"value":1893},{"type":23,"tag":362,"props":2573,"children":2574},{"style":436},[2575],{"type":29,"value":2576},"'Le Cres'",{"type":23,"tag":362,"props":2578,"children":2579},{"style":369},[2580],{"type":29,"value":1893},{"type":23,"tag":362,"props":2582,"children":2583},{"style":436},[2584],{"type":29,"value":2273},{"type":23,"tag":362,"props":2586,"children":2587},{"style":369},[2588],{"type":29,"value":1893},{"type":23,"tag":362,"props":2590,"children":2591},{"style":436},[2592],{"type":29,"value":2593},"'veuve'",{"type":23,"tag":362,"props":2595,"children":2596},{"style":369},[2597],{"type":29,"value":1966},{"type":23,"tag":362,"props":2599,"children":2600},{"class":364,"line":573},[2601,2605,2609,2613,2617,2621,2625,2630,2634,2639,2643,2648,2652,2656,2660,2664,2668,2672,2676,2680,2684,2688,2692,2696],{"type":23,"tag":362,"props":2602,"children":2603},{"style":375},[2604],{"type":29,"value":1860},{"type":23,"tag":362,"props":2606,"children":2607},{"style":369},[2608],{"type":29,"value":1865},{"type":23,"tag":362,"props":2610,"children":2611},{"style":375},[2612],{"type":29,"value":1870},{"type":23,"tag":362,"props":2614,"children":2615},{"style":369},[2616],{"type":29,"value":524},{"type":23,"tag":362,"props":2618,"children":2619},{"style":375},[2620],{"type":29,"value":1879},{"type":23,"tag":362,"props":2622,"children":2623},{"style":369},[2624],{"type":29,"value":514},{"type":23,"tag":362,"props":2626,"children":2627},{"style":477},[2628],{"type":29,"value":2629},"8",{"type":23,"tag":362,"props":2631,"children":2632},{"style":369},[2633],{"type":29,"value":1893},{"type":23,"tag":362,"props":2635,"children":2636},{"style":436},[2637],{"type":29,"value":2638},"'9721973542a7-5bdb-d564-3133-276ae3ce'",{"type":23,"tag":362,"props":2640,"children":2641},{"style":369},[2642],{"type":29,"value":1893},{"type":23,"tag":362,"props":2644,"children":2645},{"style":436},[2646],{"type":29,"value":2647},"'Maurice'",{"type":23,"tag":362,"props":2649,"children":2650},{"style":369},[2651],{"type":29,"value":1893},{"type":23,"tag":362,"props":2653,"children":2654},{"style":436},[2655],{"type":29,"value":2448},{"type":23,"tag":362,"props":2657,"children":2658},{"style":369},[2659],{"type":29,"value":1893},{"type":23,"tag":362,"props":2661,"children":2662},{"style":436},[2663],{"type":29,"value":2141},{"type":23,"tag":362,"props":2665,"children":2666},{"style":369},[2667],{"type":29,"value":1893},{"type":23,"tag":362,"props":2669,"children":2670},{"style":436},[2671],{"type":29,"value":2150},{"type":23,"tag":362,"props":2673,"children":2674},{"style":369},[2675],{"type":29,"value":1893},{"type":23,"tag":362,"props":2677,"children":2678},{"style":436},[2679],{"type":29,"value":2370},{"type":23,"tag":362,"props":2681,"children":2682},{"style":369},[2683],{"type":29,"value":1893},{"type":23,"tag":362,"props":2685,"children":2686},{"style":436},[2687],{"type":29,"value":2273},{"type":23,"tag":362,"props":2689,"children":2690},{"style":369},[2691],{"type":29,"value":1893},{"type":23,"tag":362,"props":2693,"children":2694},{"style":436},[2695],{"type":29,"value":2070},{"type":23,"tag":362,"props":2697,"children":2698},{"style":369},[2699],{"type":29,"value":1966},{"type":23,"tag":362,"props":2701,"children":2702},{"class":364,"line":628},[2703,2707,2711,2715,2719,2723,2727,2732,2736,2741,2745,2749,2753,2757,2761,2765,2769,2774,2778,2782,2786,2790,2794,2798],{"type":23,"tag":362,"props":2704,"children":2705},{"style":375},[2706],{"type":29,"value":1860},{"type":23,"tag":362,"props":2708,"children":2709},{"style":369},[2710],{"type":29,"value":1865},{"type":23,"tag":362,"props":2712,"children":2713},{"style":375},[2714],{"type":29,"value":1870},{"type":23,"tag":362,"props":2716,"children":2717},{"style":369},[2718],{"type":29,"value":524},{"type":23,"tag":362,"props":2720,"children":2721},{"style":375},[2722],{"type":29,"value":1879},{"type":23,"tag":362,"props":2724,"children":2725},{"style":369},[2726],{"type":29,"value":514},{"type":23,"tag":362,"props":2728,"children":2729},{"style":477},[2730],{"type":29,"value":2731},"9",{"type":23,"tag":362,"props":2733,"children":2734},{"style":369},[2735],{"type":29,"value":1893},{"type":23,"tag":362,"props":2737,"children":2738},{"style":436},[2739],{"type":29,"value":2740},"'4037673542a7-5bdb-d564-3133-276ae3ce'",{"type":23,"tag":362,"props":2742,"children":2743},{"style":369},[2744],{"type":29,"value":1893},{"type":23,"tag":362,"props":2746,"children":2747},{"style":436},[2748],{"type":29,"value":2016},{"type":23,"tag":362,"props":2750,"children":2751},{"style":369},[2752],{"type":29,"value":1893},{"type":23,"tag":362,"props":2754,"children":2755},{"style":436},[2756],{"type":29,"value":2448},{"type":23,"tag":362,"props":2758,"children":2759},{"style":369},[2760],{"type":29,"value":1893},{"type":23,"tag":362,"props":2762,"children":2763},{"style":436},[2764],{"type":29,"value":2247},{"type":23,"tag":362,"props":2766,"children":2767},{"style":369},[2768],{"type":29,"value":1893},{"type":23,"tag":362,"props":2770,"children":2771},{"style":436},[2772],{"type":29,"value":2773},"'H2M2V5'",{"type":23,"tag":362,"props":2775,"children":2776},{"style":369},[2777],{"type":29,"value":1893},{"type":23,"tag":362,"props":2779,"children":2780},{"style":436},[2781],{"type":29,"value":2370},{"type":23,"tag":362,"props":2783,"children":2784},{"style":369},[2785],{"type":29,"value":1893},{"type":23,"tag":362,"props":2787,"children":2788},{"style":436},[2789],{"type":29,"value":2273},{"type":23,"tag":362,"props":2791,"children":2792},{"style":369},[2793],{"type":29,"value":1893},{"type":23,"tag":362,"props":2795,"children":2796},{"style":436},[2797],{"type":29,"value":2176},{"type":23,"tag":362,"props":2799,"children":2800},{"style":369},[2801],{"type":29,"value":1966},{"type":23,"tag":342,"props":2803,"children":2804},{"start":537},[2805],{"type":23,"tag":346,"props":2806,"children":2807},{},[2808,2810],{"type":29,"value":2809},"启动 kafka consumer 消费 ",{"type":23,"tag":58,"props":2811,"children":2813},{"className":2812},[],[2814],{"type":29,"value":2815},"mysql-kafka-omneo_incrementing",{"type":23,"tag":352,"props":2817,"children":2819},{"className":1283,"code":2818,"language":1285,"meta":7,"style":7},"kafka-console-consumer.sh --bootstrap-server master:9092 --topic mysql-kafka-omneo_incrementing --from-beginning\n",[2820],{"type":23,"tag":58,"props":2821,"children":2822},{"__ignoreMap":7},[2823],{"type":23,"tag":362,"props":2824,"children":2825},{"class":364,"line":365},[2826,2831,2836,2841,2845,2850],{"type":23,"tag":362,"props":2827,"children":2828},{"style":461},[2829],{"type":29,"value":2830},"kafka-console-consumer.sh",{"type":23,"tag":362,"props":2832,"children":2833},{"style":477},[2834],{"type":29,"value":2835}," --bootstrap-server",{"type":23,"tag":362,"props":2837,"children":2838},{"style":436},[2839],{"type":29,"value":2840}," master:9092",{"type":23,"tag":362,"props":2842,"children":2843},{"style":477},[2844],{"type":29,"value":1753},{"type":23,"tag":362,"props":2846,"children":2847},{"style":436},[2848],{"type":29,"value":2849}," mysql-kafka-omneo_incrementing",{"type":23,"tag":362,"props":2851,"children":2852},{"style":477},[2853],{"type":29,"value":2854}," --from-beginning\n",{"type":23,"tag":35,"props":2856,"children":2857},{},[2858],{"type":29,"value":2859},"插入成功如下图所示",{"type":23,"tag":35,"props":2861,"children":2862},{},[2863],{"type":23,"tag":1826,"props":2864,"children":2866},{"alt":7,"src":2865},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-1d8fb2b45a89dc3f.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":23,"tag":342,"props":2868,"children":2869},{"start":537},[2870],{"type":23,"tag":346,"props":2871,"children":2872},{},[2873,2874],{"type":29,"value":2809},{"type":23,"tag":58,"props":2875,"children":2877},{"className":2876},[],[2878],{"type":29,"value":2815},{"type":23,"tag":352,"props":2880,"children":2881},{"className":1283,"code":2818,"language":1285,"meta":7,"style":7},[2882],{"type":23,"tag":58,"props":2883,"children":2884},{"__ignoreMap":7},[2885],{"type":23,"tag":362,"props":2886,"children":2887},{"class":364,"line":365},[2888,2892,2896,2900,2904,2908],{"type":23,"tag":362,"props":2889,"children":2890},{"style":461},[2891],{"type":29,"value":2830},{"type":23,"tag":362,"props":2893,"children":2894},{"style":477},[2895],{"type":29,"value":2835},{"type":23,"tag":362,"props":2897,"children":2898},{"style":436},[2899],{"type":29,"value":2840},{"type":23,"tag":362,"props":2901,"children":2902},{"style":477},[2903],{"type":29,"value":1753},{"type":23,"tag":362,"props":2905,"children":2906},{"style":436},[2907],{"type":29,"value":2849},{"type":23,"tag":362,"props":2909,"children":2910},{"style":477},[2911],{"type":29,"value":2854},{"type":23,"tag":35,"props":2913,"children":2914},{},[2915,2917,2923,2925,2931],{"type":29,"value":2916},"观察 consumer 控制台，发现 ",{"type":23,"tag":58,"props":2918,"children":2920},{"className":2919},[],[2921],{"type":29,"value":2922},"omneo",{"type":29,"value":2924}," 表中的10条数据已经生产至了 ",{"type":23,"tag":58,"props":2926,"children":2928},{"className":2927},[],[2929],{"type":29,"value":2930},"mysql-kafka_omneo",{"type":29,"value":2932}," 主题当中",{"type":23,"tag":35,"props":2934,"children":2935},{},[2936],{"type":23,"tag":1826,"props":2937,"children":2939},{"alt":7,"src":2938},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-fe16c75b10c51727.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":23,"tag":342,"props":2941,"children":2942},{"start":573},[2943],{"type":23,"tag":346,"props":2944,"children":2945},{},[2946],{"type":29,"value":2947},"再插入一条数据",{"type":23,"tag":352,"props":2949,"children":2951},{"className":354,"code":2950,"language":356,"meta":7,"style":7},"insert into omneo_incrementing(pid, uuid, firstname, lastname, birthdate, postalcode, city, sexe, status) values(10,'6633863542a7-5bdb-d564-3133-276ae3ce','Gauthier',\"O'Dell\",'23\u002F09\u002F2002','H2M2V5','Maugio','female','veuve');\n",[2952],{"type":23,"tag":58,"props":2953,"children":2954},{"__ignoreMap":7},[2955],{"type":23,"tag":362,"props":2956,"children":2957},{"class":364,"line":365},[2958,2962,2966,2970,2974,2978,2982,2987,2991,2996,3000,3004,3008,3013,3017,3021,3025,3029,3033,3037,3041,3045,3049,3053],{"type":23,"tag":362,"props":2959,"children":2960},{"style":375},[2961],{"type":29,"value":1860},{"type":23,"tag":362,"props":2963,"children":2964},{"style":369},[2965],{"type":29,"value":1865},{"type":23,"tag":362,"props":2967,"children":2968},{"style":375},[2969],{"type":29,"value":1870},{"type":23,"tag":362,"props":2971,"children":2972},{"style":369},[2973],{"type":29,"value":524},{"type":23,"tag":362,"props":2975,"children":2976},{"style":375},[2977],{"type":29,"value":1879},{"type":23,"tag":362,"props":2979,"children":2980},{"style":369},[2981],{"type":29,"value":514},{"type":23,"tag":362,"props":2983,"children":2984},{"style":477},[2985],{"type":29,"value":2986},"10",{"type":23,"tag":362,"props":2988,"children":2989},{"style":369},[2990],{"type":29,"value":1893},{"type":23,"tag":362,"props":2992,"children":2993},{"style":436},[2994],{"type":29,"value":2995},"'6633863542a7-5bdb-d564-3133-276ae3ce'",{"type":23,"tag":362,"props":2997,"children":2998},{"style":369},[2999],{"type":29,"value":1893},{"type":23,"tag":362,"props":3001,"children":3002},{"style":436},[3003],{"type":29,"value":2230},{"type":23,"tag":362,"props":3005,"children":3006},{"style":369},[3007],{"type":29,"value":1893},{"type":23,"tag":362,"props":3009,"children":3010},{"style":436},[3011],{"type":29,"value":3012},"\"O'Dell\"",{"type":23,"tag":362,"props":3014,"children":3015},{"style":369},[3016],{"type":29,"value":1893},{"type":23,"tag":362,"props":3018,"children":3019},{"style":436},[3020],{"type":29,"value":2034},{"type":23,"tag":362,"props":3022,"children":3023},{"style":369},[3024],{"type":29,"value":1893},{"type":23,"tag":362,"props":3026,"children":3027},{"style":436},[3028],{"type":29,"value":2773},{"type":23,"tag":362,"props":3030,"children":3031},{"style":369},[3032],{"type":29,"value":1893},{"type":23,"tag":362,"props":3034,"children":3035},{"style":436},[3036],{"type":29,"value":2159},{"type":23,"tag":362,"props":3038,"children":3039},{"style":369},[3040],{"type":29,"value":1893},{"type":23,"tag":362,"props":3042,"children":3043},{"style":436},[3044],{"type":29,"value":1952},{"type":23,"tag":362,"props":3046,"children":3047},{"style":369},[3048],{"type":29,"value":1893},{"type":23,"tag":362,"props":3050,"children":3051},{"style":436},[3052],{"type":29,"value":2593},{"type":23,"tag":362,"props":3054,"children":3055},{"style":369},[3056],{"type":29,"value":1966},{"type":23,"tag":35,"props":3058,"children":3059},{},[3060],{"type":23,"tag":1826,"props":3061,"children":3063},{"alt":7,"src":3062},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-4b99f9e083b1582f.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":23,"tag":342,"props":3065,"children":3066},{"start":628},[3067],{"type":23,"tag":346,"props":3068,"children":3069},{},[3070,3071,3076,3078,3084],{"type":29,"value":2916},{"type":23,"tag":58,"props":3072,"children":3074},{"className":3073},[],[3075],{"type":29,"value":2930},{"type":29,"value":3077}," 主题中 ",{"type":23,"tag":58,"props":3079,"children":3081},{"className":3080},[],[3082],{"type":29,"value":3083},"pid=10",{"type":29,"value":3085}," 条数据被消费到了控制台。",{"type":23,"tag":35,"props":3087,"children":3088},{},[3089],{"type":23,"tag":1826,"props":3090,"children":3092},{"alt":7,"src":3091},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-b031b4e34f24cba6.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":23,"tag":342,"props":3094,"children":3095},{"start":677},[3096],{"type":23,"tag":346,"props":3097,"children":3098},{},[3099,3101,3106],{"type":29,"value":3100},"更新 ",{"type":23,"tag":58,"props":3102,"children":3104},{"className":3103},[],[3105],{"type":29,"value":3083},{"type":29,"value":3107}," 的 firstname=\"world\"",{"type":23,"tag":352,"props":3109,"children":3111},{"className":354,"code":3110,"language":356,"meta":7,"style":7},"INSERT INTO omneo VALUES (10,'6633863542a7-5bdb-d564-3133-276ae3ce','Gauthier',\"O'Dell\",'23\u002F09\u002F2002','H2M2V5','Maugio','female','veuve') ON DUPLICATE KEY UPDATE firstname=\"world\";\n",[3112],{"type":23,"tag":58,"props":3113,"children":3114},{"__ignoreMap":7},[3115],{"type":23,"tag":362,"props":3116,"children":3117},{"class":364,"line":365},[3118,3123,3128,3133,3138,3142,3146,3150,3154,3158,3162,3166,3170,3174,3178,3182,3186,3190,3194,3198,3202,3206,3210,3215,3220,3225,3230,3235,3239,3244],{"type":23,"tag":362,"props":3119,"children":3120},{"style":375},[3121],{"type":29,"value":3122},"INSERT INTO",{"type":23,"tag":362,"props":3124,"children":3125},{"style":369},[3126],{"type":29,"value":3127}," omneo ",{"type":23,"tag":362,"props":3129,"children":3130},{"style":375},[3131],{"type":29,"value":3132},"VALUES",{"type":23,"tag":362,"props":3134,"children":3135},{"style":369},[3136],{"type":29,"value":3137}," (",{"type":23,"tag":362,"props":3139,"children":3140},{"style":477},[3141],{"type":29,"value":2986},{"type":23,"tag":362,"props":3143,"children":3144},{"style":369},[3145],{"type":29,"value":1893},{"type":23,"tag":362,"props":3147,"children":3148},{"style":436},[3149],{"type":29,"value":2995},{"type":23,"tag":362,"props":3151,"children":3152},{"style":369},[3153],{"type":29,"value":1893},{"type":23,"tag":362,"props":3155,"children":3156},{"style":436},[3157],{"type":29,"value":2230},{"type":23,"tag":362,"props":3159,"children":3160},{"style":369},[3161],{"type":29,"value":1893},{"type":23,"tag":362,"props":3163,"children":3164},{"style":436},[3165],{"type":29,"value":3012},{"type":23,"tag":362,"props":3167,"children":3168},{"style":369},[3169],{"type":29,"value":1893},{"type":23,"tag":362,"props":3171,"children":3172},{"style":436},[3173],{"type":29,"value":2034},{"type":23,"tag":362,"props":3175,"children":3176},{"style":369},[3177],{"type":29,"value":1893},{"type":23,"tag":362,"props":3179,"children":3180},{"style":436},[3181],{"type":29,"value":2773},{"type":23,"tag":362,"props":3183,"children":3184},{"style":369},[3185],{"type":29,"value":1893},{"type":23,"tag":362,"props":3187,"children":3188},{"style":436},[3189],{"type":29,"value":2159},{"type":23,"tag":362,"props":3191,"children":3192},{"style":369},[3193],{"type":29,"value":1893},{"type":23,"tag":362,"props":3195,"children":3196},{"style":436},[3197],{"type":29,"value":1952},{"type":23,"tag":362,"props":3199,"children":3200},{"style":369},[3201],{"type":29,"value":1893},{"type":23,"tag":362,"props":3203,"children":3204},{"style":436},[3205],{"type":29,"value":2593},{"type":23,"tag":362,"props":3207,"children":3208},{"style":369},[3209],{"type":29,"value":524},{"type":23,"tag":362,"props":3211,"children":3212},{"style":375},[3213],{"type":29,"value":3214},"ON",{"type":23,"tag":362,"props":3216,"children":3217},{"style":369},[3218],{"type":29,"value":3219}," DUPLICATE ",{"type":23,"tag":362,"props":3221,"children":3222},{"style":375},[3223],{"type":29,"value":3224},"KEY",{"type":23,"tag":362,"props":3226,"children":3227},{"style":375},[3228],{"type":29,"value":3229}," UPDATE",{"type":23,"tag":362,"props":3231,"children":3232},{"style":369},[3233],{"type":29,"value":3234}," firstname",{"type":23,"tag":362,"props":3236,"children":3237},{"style":375},[3238],{"type":29,"value":829},{"type":23,"tag":362,"props":3240,"children":3241},{"style":436},[3242],{"type":29,"value":3243},"\"world\"",{"type":23,"tag":362,"props":3245,"children":3246},{"style":369},[3247],{"type":29,"value":3248},";\n",{"type":23,"tag":342,"props":3250,"children":3251},{"start":703},[3252],{"type":23,"tag":346,"props":3253,"children":3254},{},[3255,3257,3262],{"type":29,"value":3256},"查看 mysql 中的 ",{"type":23,"tag":58,"props":3258,"children":3260},{"className":3259},[],[3261],{"type":29,"value":2922},{"type":29,"value":3263}," 表发现值已经被改变",{"type":23,"tag":35,"props":3265,"children":3266},{},[3267],{"type":23,"tag":1826,"props":3268,"children":3270},{"alt":7,"src":3269},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-0af78b480ceaa435.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":23,"tag":342,"props":3272,"children":3273},{"start":728},[3274],{"type":23,"tag":346,"props":3275,"children":3276},{},[3277,3279,3284],{"type":29,"value":3278},"consumer 控制台 ",{"type":23,"tag":58,"props":3280,"children":3282},{"className":3281},[],[3283],{"type":29,"value":3083},{"type":29,"value":3285}," 的记录值并没有被更新",{"type":23,"tag":35,"props":3287,"children":3288},{},[3289],{"type":23,"tag":1826,"props":3290,"children":3292},{"alt":7,"src":3291},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-6dff0673a078b8f7.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":23,"tag":24,"props":3294,"children":3296},{"id":3295},"incrementing-结论",[3297],{"type":29,"value":3298},"incrementing 结论",{"type":23,"tag":35,"props":3300,"children":3301},{},[3302,3304,3310,3312,3318],{"type":29,"value":3303},"在 JDBC Sink Connector 官网中指出insert.mode有且仅有两个值 ",{"type":23,"tag":58,"props":3305,"children":3307},{"className":3306},[],[3308],{"type":29,"value":3309},"insert.mode=insert",{"type":29,"value":3311}," 只接收标准的INSERT SQL新增语句。而 ",{"type":23,"tag":58,"props":3313,"children":3315},{"className":3314},[],[3316],{"type":29,"value":3317},"insert.mode=upsert",{"type":29,"value":3319}," 接收新增和更新，当对主键修改时也可以洞察并且输出。而insert是无法满足此要求的，因此根据实际业务使用的场景选择insert.mode。",{"type":23,"tag":31,"props":3321,"children":3322},{},[3323],{"type":23,"tag":35,"props":3324,"children":3325},{},[3326,3328,3333,3335,3340,3342,3347,3349,3353,3355,3359,3361,3367,3369,3375],{"type":29,"value":3327},"我将 ",{"type":23,"tag":58,"props":3329,"children":3331},{"className":3330},[],[3332],{"type":29,"value":3309},{"type":29,"value":3334}," 修改为 ",{"type":23,"tag":58,"props":3336,"children":3338},{"className":3337},[],[3339],{"type":29,"value":3317},{"type":29,"value":3341}," ，再次运行修改过后的数据并没有将修改过后的最新数据生产至 ",{"type":23,"tag":58,"props":3343,"children":3345},{"className":3344},[],[3346],{"type":29,"value":1689},{"type":29,"value":3348},"\n修改字段值之前\n",{"type":23,"tag":1826,"props":3350,"children":3352},{"alt":7,"src":3351},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-a41dc2d2cc83d052.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":29,"value":3354},"\n修改字段值之后\n",{"type":23,"tag":1826,"props":3356,"children":3358},{"alt":7,"src":3357},"https:\u002F\u002Fupload-images.jianshu.io\u002Fupload_images\u002F16281566-75ac995cf2876ced.png?imageMogr2\u002Fauto-orient\u002Fstrip%7CimageView2\u002F2\u002Fw\u002F1200\u002Fformat\u002Fwebp",[],{"type":29,"value":3360},"\n我并没看出 ",{"type":23,"tag":58,"props":3362,"children":3364},{"className":3363},[],[3365],{"type":29,"value":3366},"insert",{"type":29,"value":3368}," 和 ",{"type":23,"tag":58,"props":3370,"children":3372},{"className":3371},[],[3373],{"type":29,"value":3374},"upsert",{"type":29,"value":3376}," 两个参数的区别，希望测试成功的人留言指正或者微信指正，感谢！！！",{"type":23,"tag":24,"props":3378,"children":3380},{"id":3379},"_2-timestamp-时间戳模式",[3381],{"type":29,"value":3382},"2. timestamp 时间戳模式",{"type":23,"tag":342,"props":3384,"children":3385},{},[3386],{"type":23,"tag":346,"props":3387,"children":3388},{},[3389,3390,3396],{"type":29,"value":1684},{"type":23,"tag":58,"props":3391,"children":3393},{"className":3392},[],[3394],{"type":29,"value":3395},"test_kafka_connector",{"type":29,"value":3397}," 库 omneo_timestamp 测试表",{"type":23,"tag":352,"props":3399,"children":3401},{"className":354,"code":3400,"language":356,"meta":7,"style":7},"CREATE TABLE IF NOT EXISTS test_kafka_connector.omneo_timestamp(\n    pid int(11) NOT NULL AUTO_INCREMENT,\n    uuid varchar(100) NOT NULL,\n    firstname varchar(20) CHARACTER SET utf8 DEFAULT NULL,\n    lastname varchar(20) CHARACTER SET utf8 DEFAULT NULL,\n    birthdate varchar(20),\n    postalcode varchar(20),\n    city varchar(20),\n    sexe varchar(20),\n    status varchar(20),\n    commenttime timestamp NOT NULL DEFAULT current_timestamp,\n    PRIMARY KEY (pid)\n)ENGINE=InnoDB DEFAULT CHARSET=utf8;\n",[3402],{"type":23,"tag":58,"props":3403,"children":3404},{"__ignoreMap":7},[3405,3445,3476,3507,3554,3601,3624,3647,3670,3693,3716,3744,3755],{"type":23,"tag":362,"props":3406,"children":3407},{"class":364,"line":365},[3408,3412,3416,3420,3424,3428,3432,3436,3441],{"type":23,"tag":362,"props":3409,"children":3410},{"style":375},[3411],{"type":29,"value":453},{"type":23,"tag":362,"props":3413,"children":3414},{"style":375},[3415],{"type":29,"value":458},{"type":23,"tag":362,"props":3417,"children":3418},{"style":461},[3419],{"type":29,"value":464},{"type":23,"tag":362,"props":3421,"children":3422},{"style":375},[3423],{"type":29,"value":469},{"type":23,"tag":362,"props":3425,"children":3426},{"style":375},[3427],{"type":29,"value":474},{"type":23,"tag":362,"props":3429,"children":3430},{"style":477},[3431],{"type":29,"value":480},{"type":23,"tag":362,"props":3433,"children":3434},{"style":369},[3435],{"type":29,"value":485},{"type":23,"tag":362,"props":3437,"children":3438},{"style":477},[3439],{"type":29,"value":3440},"omneo_timestamp",{"type":23,"tag":362,"props":3442,"children":3443},{"style":369},[3444],{"type":29,"value":495},{"type":23,"tag":362,"props":3446,"children":3447},{"class":364,"line":396},[3448,3452,3456,3460,3464,3468,3472],{"type":23,"tag":362,"props":3449,"children":3450},{"style":369},[3451],{"type":29,"value":504},{"type":23,"tag":362,"props":3453,"children":3454},{"style":375},[3455],{"type":29,"value":509},{"type":23,"tag":362,"props":3457,"children":3458},{"style":369},[3459],{"type":29,"value":514},{"type":23,"tag":362,"props":3461,"children":3462},{"style":477},[3463],{"type":29,"value":519},{"type":23,"tag":362,"props":3465,"children":3466},{"style":369},[3467],{"type":29,"value":524},{"type":23,"tag":362,"props":3469,"children":3470},{"style":375},[3471],{"type":29,"value":529},{"type":23,"tag":362,"props":3473,"children":3474},{"style":369},[3475],{"type":29,"value":534},{"type":23,"tag":362,"props":3477,"children":3478},{"class":364,"line":417},[3479,3483,3487,3491,3495,3499,3503],{"type":23,"tag":362,"props":3480,"children":3481},{"style":369},[3482],{"type":29,"value":543},{"type":23,"tag":362,"props":3484,"children":3485},{"style":375},[3486],{"type":29,"value":548},{"type":23,"tag":362,"props":3488,"children":3489},{"style":369},[3490],{"type":29,"value":514},{"type":23,"tag":362,"props":3492,"children":3493},{"style":477},[3494],{"type":29,"value":557},{"type":23,"tag":362,"props":3496,"children":3497},{"style":369},[3498],{"type":29,"value":524},{"type":23,"tag":362,"props":3500,"children":3501},{"style":375},[3502],{"type":29,"value":529},{"type":23,"tag":362,"props":3504,"children":3505},{"style":369},[3506],{"type":29,"value":570},{"type":23,"tag":362,"props":3508,"children":3509},{"class":364,"line":427},[3510,3514,3518,3522,3526,3530,3534,3538,3542,3546,3550],{"type":23,"tag":362,"props":3511,"children":3512},{"style":369},[3513],{"type":29,"value":579},{"type":23,"tag":362,"props":3515,"children":3516},{"style":375},[3517],{"type":29,"value":548},{"type":23,"tag":362,"props":3519,"children":3520},{"style":369},[3521],{"type":29,"value":514},{"type":23,"tag":362,"props":3523,"children":3524},{"style":477},[3525],{"type":29,"value":592},{"type":23,"tag":362,"props":3527,"children":3528},{"style":369},[3529],{"type":29,"value":524},{"type":23,"tag":362,"props":3531,"children":3532},{"style":375},[3533],{"type":29,"value":601},{"type":23,"tag":362,"props":3535,"children":3536},{"style":375},[3537],{"type":29,"value":606},{"type":23,"tag":362,"props":3539,"children":3540},{"style":369},[3541],{"type":29,"value":611},{"type":23,"tag":362,"props":3543,"children":3544},{"style":375},[3545],{"type":29,"value":616},{"type":23,"tag":362,"props":3547,"children":3548},{"style":375},[3549],{"type":29,"value":621},{"type":23,"tag":362,"props":3551,"children":3552},{"style":369},[3553],{"type":29,"value":570},{"type":23,"tag":362,"props":3555,"children":3556},{"class":364,"line":447},[3557,3561,3565,3569,3573,3577,3581,3585,3589,3593,3597],{"type":23,"tag":362,"props":3558,"children":3559},{"style":369},[3560],{"type":29,"value":634},{"type":23,"tag":362,"props":3562,"children":3563},{"style":375},[3564],{"type":29,"value":548},{"type":23,"tag":362,"props":3566,"children":3567},{"style":369},[3568],{"type":29,"value":514},{"type":23,"tag":362,"props":3570,"children":3571},{"style":477},[3572],{"type":29,"value":592},{"type":23,"tag":362,"props":3574,"children":3575},{"style":369},[3576],{"type":29,"value":524},{"type":23,"tag":362,"props":3578,"children":3579},{"style":375},[3580],{"type":29,"value":601},{"type":23,"tag":362,"props":3582,"children":3583},{"style":375},[3584],{"type":29,"value":606},{"type":23,"tag":362,"props":3586,"children":3587},{"style":369},[3588],{"type":29,"value":611},{"type":23,"tag":362,"props":3590,"children":3591},{"style":375},[3592],{"type":29,"value":616},{"type":23,"tag":362,"props":3594,"children":3595},{"style":375},[3596],{"type":29,"value":621},{"type":23,"tag":362,"props":3598,"children":3599},{"style":369},[3600],{"type":29,"value":570},{"type":23,"tag":362,"props":3602,"children":3603},{"class":364,"line":498},[3604,3608,3612,3616,3620],{"type":23,"tag":362,"props":3605,"children":3606},{"style":369},[3607],{"type":29,"value":683},{"type":23,"tag":362,"props":3609,"children":3610},{"style":375},[3611],{"type":29,"value":548},{"type":23,"tag":362,"props":3613,"children":3614},{"style":369},[3615],{"type":29,"value":514},{"type":23,"tag":362,"props":3617,"children":3618},{"style":477},[3619],{"type":29,"value":592},{"type":23,"tag":362,"props":3621,"children":3622},{"style":369},[3623],{"type":29,"value":700},{"type":23,"tag":362,"props":3625,"children":3626},{"class":364,"line":537},[3627,3631,3635,3639,3643],{"type":23,"tag":362,"props":3628,"children":3629},{"style":369},[3630],{"type":29,"value":709},{"type":23,"tag":362,"props":3632,"children":3633},{"style":375},[3634],{"type":29,"value":548},{"type":23,"tag":362,"props":3636,"children":3637},{"style":369},[3638],{"type":29,"value":514},{"type":23,"tag":362,"props":3640,"children":3641},{"style":477},[3642],{"type":29,"value":592},{"type":23,"tag":362,"props":3644,"children":3645},{"style":369},[3646],{"type":29,"value":700},{"type":23,"tag":362,"props":3648,"children":3649},{"class":364,"line":573},[3650,3654,3658,3662,3666],{"type":23,"tag":362,"props":3651,"children":3652},{"style":369},[3653],{"type":29,"value":734},{"type":23,"tag":362,"props":3655,"children":3656},{"style":375},[3657],{"type":29,"value":548},{"type":23,"tag":362,"props":3659,"children":3660},{"style":369},[3661],{"type":29,"value":514},{"type":23,"tag":362,"props":3663,"children":3664},{"style":477},[3665],{"type":29,"value":592},{"type":23,"tag":362,"props":3667,"children":3668},{"style":369},[3669],{"type":29,"value":700},{"type":23,"tag":362,"props":3671,"children":3672},{"class":364,"line":628},[3673,3677,3681,3685,3689],{"type":23,"tag":362,"props":3674,"children":3675},{"style":369},[3676],{"type":29,"value":759},{"type":23,"tag":362,"props":3678,"children":3679},{"style":375},[3680],{"type":29,"value":548},{"type":23,"tag":362,"props":3682,"children":3683},{"style":369},[3684],{"type":29,"value":514},{"type":23,"tag":362,"props":3686,"children":3687},{"style":477},[3688],{"type":29,"value":592},{"type":23,"tag":362,"props":3690,"children":3691},{"style":369},[3692],{"type":29,"value":700},{"type":23,"tag":362,"props":3694,"children":3695},{"class":364,"line":677},[3696,3700,3704,3708,3712],{"type":23,"tag":362,"props":3697,"children":3698},{"style":375},[3699],{"type":29,"value":784},{"type":23,"tag":362,"props":3701,"children":3702},{"style":375},[3703],{"type":29,"value":789},{"type":23,"tag":362,"props":3705,"children":3706},{"style":369},[3707],{"type":29,"value":514},{"type":23,"tag":362,"props":3709,"children":3710},{"style":477},[3711],{"type":29,"value":592},{"type":23,"tag":362,"props":3713,"children":3714},{"style":369},[3715],{"type":29,"value":700},{"type":23,"tag":362,"props":3717,"children":3718},{"class":364,"line":703},[3719,3724,3729,3734,3739],{"type":23,"tag":362,"props":3720,"children":3721},{"style":369},[3722],{"type":29,"value":3723},"    commenttime ",{"type":23,"tag":362,"props":3725,"children":3726},{"style":375},[3727],{"type":29,"value":3728},"timestamp",{"type":23,"tag":362,"props":3730,"children":3731},{"style":375},[3732],{"type":29,"value":3733}," NOT NULL",{"type":23,"tag":362,"props":3735,"children":3736},{"style":375},[3737],{"type":29,"value":3738}," DEFAULT",{"type":23,"tag":362,"props":3740,"children":3741},{"style":369},[3742],{"type":29,"value":3743}," current_timestamp,\n",{"type":23,"tag":362,"props":3745,"children":3746},{"class":364,"line":728},[3747,3751],{"type":23,"tag":362,"props":3748,"children":3749},{"style":375},[3750],{"type":29,"value":810},{"type":23,"tag":362,"props":3752,"children":3753},{"style":369},[3754],{"type":29,"value":815},{"type":23,"tag":362,"props":3756,"children":3757},{"class":364,"line":753},[3758,3762,3766,3770,3774,3778,3782],{"type":23,"tag":362,"props":3759,"children":3760},{"style":369},[3761],{"type":29,"value":824},{"type":23,"tag":362,"props":3763,"children":3764},{"style":375},[3765],{"type":29,"value":829},{"type":23,"tag":362,"props":3767,"children":3768},{"style":369},[3769],{"type":29,"value":834},{"type":23,"tag":362,"props":3771,"children":3772},{"style":375},[3773],{"type":29,"value":616},{"type":23,"tag":362,"props":3775,"children":3776},{"style":369},[3777],{"type":29,"value":843},{"type":23,"tag":362,"props":3779,"children":3780},{"style":375},[3781],{"type":29,"value":829},{"type":23,"tag":362,"props":3783,"children":3784},{"style":369},[3785],{"type":29,"value":852},{"type":23,"tag":31,"props":3787,"children":3788},{},[3789],{"type":23,"tag":35,"props":3790,"children":3791},{},[3792],{"type":29,"value":3793},"注意timestamp必须指定not null，否则会报错! (无法使用时间戳列进行增量查询因为时间戳字段是可为空的)",{"type":23,"tag":342,"props":3795,"children":3796},{"start":396},[3797],{"type":23,"tag":346,"props":3798,"children":3799},{},[3800,3801,3807],{"type":29,"value":1684},{"type":23,"tag":58,"props":3802,"children":3804},{"className":3803},[],[3805],{"type":29,"value":3806},"kafka_connector",{"type":29,"value":3808}," 库 kafka_omneo_timestamp 测试表",{"type":23,"tag":352,"props":3810,"children":3812},{"className":354,"code":3811,"language":356,"meta":7,"style":7},"CREATE TABLE IF NOT EXISTS kafka_connector.kafka_omneo_timestamp(\n    pid int(11) NOT NULL AUTO_INCREMENT,\n    uuid varchar(100) NOT NULL,\n    firstname varchar(20) CHARACTER SET utf8 DEFAULT NULL,\n    lastname varchar(20) CHARACTER SET utf8 DEFAULT NULL,\n    birthdate varchar(20),\n    postalcode varchar(20),\n    city varchar(20),\n    sexe varchar(20),\n    status varchar(20),\n    commenttime timestamp NULL DEFAULT NULL,\n    PRIMARY KEY (pid)\n)ENGINE=InnoDB DEFAULT CHARSET=utf8;\n",[3813],{"type":23,"tag":58,"props":3814,"children":3815},{"__ignoreMap":7},[3816,3856,3887,3918,3965,4012,4035,4058,4081,4104,4127,4154,4165],{"type":23,"tag":362,"props":3817,"children":3818},{"class":364,"line":365},[3819,3823,3827,3831,3835,3839,3843,3847,3852],{"type":23,"tag":362,"props":3820,"children":3821},{"style":375},[3822],{"type":29,"value":453},{"type":23,"tag":362,"props":3824,"children":3825},{"style":375},[3826],{"type":29,"value":458},{"type":23,"tag":362,"props":3828,"children":3829},{"style":461},[3830],{"type":29,"value":464},{"type":23,"tag":362,"props":3832,"children":3833},{"style":375},[3834],{"type":29,"value":469},{"type":23,"tag":362,"props":3836,"children":3837},{"style":375},[3838],{"type":29,"value":474},{"type":23,"tag":362,"props":3840,"children":3841},{"style":477},[3842],{"type":29,"value":907},{"type":23,"tag":362,"props":3844,"children":3845},{"style":369},[3846],{"type":29,"value":485},{"type":23,"tag":362,"props":3848,"children":3849},{"style":477},[3850],{"type":29,"value":3851},"kafka_omneo_timestamp",{"type":23,"tag":362,"props":3853,"children":3854},{"style":369},[3855],{"type":29,"value":495},{"type":23,"tag":362,"props":3857,"children":3858},{"class":364,"line":396},[3859,3863,3867,3871,3875,3879,3883],{"type":23,"tag":362,"props":3860,"children":3861},{"style":369},[3862],{"type":29,"value":504},{"type":23,"tag":362,"props":3864,"children":3865},{"style":375},[3866],{"type":29,"value":509},{"type":23,"tag":362,"props":3868,"children":3869},{"style":369},[3870],{"type":29,"value":514},{"type":23,"tag":362,"props":3872,"children":3873},{"style":477},[3874],{"type":29,"value":519},{"type":23,"tag":362,"props":3876,"children":3877},{"style":369},[3878],{"type":29,"value":524},{"type":23,"tag":362,"props":3880,"children":3881},{"style":375},[3882],{"type":29,"value":529},{"type":23,"tag":362,"props":3884,"children":3885},{"style":369},[3886],{"type":29,"value":534},{"type":23,"tag":362,"props":3888,"children":3889},{"class":364,"line":417},[3890,3894,3898,3902,3906,3910,3914],{"type":23,"tag":362,"props":3891,"children":3892},{"style":369},[3893],{"type":29,"value":543},{"type":23,"tag":362,"props":3895,"children":3896},{"style":375},[3897],{"type":29,"value":548},{"type":23,"tag":362,"props":3899,"children":3900},{"style":369},[3901],{"type":29,"value":514},{"type":23,"tag":362,"props":3903,"children":3904},{"style":477},[3905],{"type":29,"value":557},{"type":23,"tag":362,"props":3907,"children":3908},{"style":369},[3909],{"type":29,"value":524},{"type":23,"tag":362,"props":3911,"children":3912},{"style":375},[3913],{"type":29,"value":529},{"type":23,"tag":362,"props":3915,"children":3916},{"style":369},[3917],{"type":29,"value":570},{"type":23,"tag":362,"props":3919,"children":3920},{"class":364,"line":427},[3921,3925,3929,3933,3937,3941,3945,3949,3953,3957,3961],{"type":23,"tag":362,"props":3922,"children":3923},{"style":369},[3924],{"type":29,"value":579},{"type":23,"tag":362,"props":3926,"children":3927},{"style":375},[3928],{"type":29,"value":548},{"type":23,"tag":362,"props":3930,"children":3931},{"style":369},[3932],{"type":29,"value":514},{"type":23,"tag":362,"props":3934,"children":3935},{"style":477},[3936],{"type":29,"value":592},{"type":23,"tag":362,"props":3938,"children":3939},{"style":369},[3940],{"type":29,"value":524},{"type":23,"tag":362,"props":3942,"children":3943},{"style":375},[3944],{"type":29,"value":601},{"type":23,"tag":362,"props":3946,"children":3947},{"style":375},[3948],{"type":29,"value":606},{"type":23,"tag":362,"props":3950,"children":3951},{"style":369},[3952],{"type":29,"value":611},{"type":23,"tag":362,"props":3954,"children":3955},{"style":375},[3956],{"type":29,"value":616},{"type":23,"tag":362,"props":3958,"children":3959},{"style":375},[3960],{"type":29,"value":621},{"type":23,"tag":362,"props":3962,"children":3963},{"style":369},[3964],{"type":29,"value":570},{"type":23,"tag":362,"props":3966,"children":3967},{"class":364,"line":447},[3968,3972,3976,3980,3984,3988,3992,3996,4000,4004,4008],{"type":23,"tag":362,"props":3969,"children":3970},{"style":369},[3971],{"type":29,"value":634},{"type":23,"tag":362,"props":3973,"children":3974},{"style":375},[3975],{"type":29,"value":548},{"type":23,"tag":362,"props":3977,"children":3978},{"style":369},[3979],{"type":29,"value":514},{"type":23,"tag":362,"props":3981,"children":3982},{"style":477},[3983],{"type":29,"value":592},{"type":23,"tag":362,"props":3985,"children":3986},{"style":369},[3987],{"type":29,"value":524},{"type":23,"tag":362,"props":3989,"children":3990},{"style":375},[3991],{"type":29,"value":601},{"type":23,"tag":362,"props":3993,"children":3994},{"style":375},[3995],{"type":29,"value":606},{"type":23,"tag":362,"props":3997,"children":3998},{"style":369},[3999],{"type":29,"value":611},{"type":23,"tag":362,"props":4001,"children":4002},{"style":375},[4003],{"type":29,"value":616},{"type":23,"tag":362,"props":4005,"children":4006},{"style":375},[4007],{"type":29,"value":621},{"type":23,"tag":362,"props":4009,"children":4010},{"style":369},[4011],{"type":29,"value":570},{"type":23,"tag":362,"props":4013,"children":4014},{"class":364,"line":498},[4015,4019,4023,4027,4031],{"type":23,"tag":362,"props":4016,"children":4017},{"style":369},[4018],{"type":29,"value":683},{"type":23,"tag":362,"props":4020,"children":4021},{"style":375},[4022],{"type":29,"value":548},{"type":23,"tag":362,"props":4024,"children":4025},{"style":369},[4026],{"type":29,"value":514},{"type":23,"tag":362,"props":4028,"children":4029},{"style":477},[4030],{"type":29,"value":592},{"type":23,"tag":362,"props":4032,"children":4033},{"style":369},[4034],{"type":29,"value":700},{"type":23,"tag":362,"props":4036,"children":4037},{"class":364,"line":537},[4038,4042,4046,4050,4054],{"type":23,"tag":362,"props":4039,"children":4040},{"style":369},[4041],{"type":29,"value":709},{"type":23,"tag":362,"props":4043,"children":4044},{"style":375},[4045],{"type":29,"value":548},{"type":23,"tag":362,"props":4047,"children":4048},{"style":369},[4049],{"type":29,"value":514},{"type":23,"tag":362,"props":4051,"children":4052},{"style":477},[4053],{"type":29,"value":592},{"type":23,"tag":362,"props":4055,"children":4056},{"style":369},[4057],{"type":29,"value":700},{"type":23,"tag":362,"props":4059,"children":4060},{"class":364,"line":573},[4061,4065,4069,4073,4077],{"type":23,"tag":362,"props":4062,"children":4063},{"style":369},[4064],{"type":29,"value":734},{"type":23,"tag":362,"props":4066,"children":4067},{"style":375},[4068],{"type":29,"value":548},{"type":23,"tag":362,"props":4070,"children":4071},{"style":369},[4072],{"type":29,"value":514},{"type":23,"tag":362,"props":4074,"children":4075},{"style":477},[4076],{"type":29,"value":592},{"type":23,"tag":362,"props":4078,"children":4079},{"style":369},[4080],{"type":29,"value":700},{"type":23,"tag":362,"props":4082,"children":4083},{"class":364,"line":628},[4084,4088,4092,4096,4100],{"type":23,"tag":362,"props":4085,"children":4086},{"style":369},[4087],{"type":29,"value":759},{"type":23,"tag":362,"props":4089,"children":4090},{"style":375},[4091],{"type":29,"value":548},{"type":23,"tag":362,"props":4093,"children":4094},{"style":369},[4095],{"type":29,"value":514},{"type":23,"tag":362,"props":4097,"children":4098},{"style":477},[4099],{"type":29,"value":592},{"type":23,"tag":362,"props":4101,"children":4102},{"style":369},[4103],{"type":29,"value":700},{"type":23,"tag":362,"props":4105,"children":4106},{"class":364,"line":677},[4107,4111,4115,4119,4123],{"type":23,"tag":362,"props":4108,"children":4109},{"style":375},[4110],{"type":29,"value":784},{"type":23,"tag":362,"props":4112,"children":4113},{"style":375},[4114],{"type":29,"value":789},{"type":23,"tag":362,"props":4116,"children":4117},{"style":369},[4118],{"type":29,"value":514},{"type":23,"tag":362,"props":4120,"children":4121},{"style":477},[4122],{"type":29,"value":592},{"type":23,"tag":362,"props":4124,"children":4125},{"style":369},[4126],{"type":29,"value":700},{"type":23,"tag":362,"props":4128,"children":4129},{"class":364,"line":703},[4130,4134,4138,4142,4146,4150],{"type":23,"tag":362,"props":4131,"children":4132},{"style":369},[4133],{"type":29,"value":3723},{"type":23,"tag":362,"props":4135,"children":4136},{"style":375},[4137],{"type":29,"value":3728},{"type":23,"tag":362,"props":4139,"children":4140},{"style":375},[4141],{"type":29,"value":621},{"type":23,"tag":362,"props":4143,"children":4144},{"style":375},[4145],{"type":29,"value":3738},{"type":23,"tag":362,"props":4147,"children":4148},{"style":375},[4149],{"type":29,"value":621},{"type":23,"tag":362,"props":4151,"children":4152},{"style":369},[4153],{"type":29,"value":570},{"type":23,"tag":362,"props":4155,"children":4156},{"class":364,"line":728},[4157,4161],{"type":23,"tag":362,"props":4158,"children":4159},{"style":375},[4160],{"type":29,"value":810},{"type":23,"tag":362,"props":4162,"children":4163},{"style":369},[4164],{"type":29,"value":815},{"type":23,"tag":362,"props":4166,"children":4167},{"class":364,"line":753},[4168,4172,4176,4180,4184,4188,4192],{"type":23,"tag":362,"props":4169,"children":4170},{"style":369},[4171],{"type":29,"value":824},{"type":23,"tag":362,"props":4173,"children":4174},{"style":375},[4175],{"type":29,"value":829},{"type":23,"tag":362,"props":4177,"children":4178},{"style":369},[4179],{"type":29,"value":834},{"type":23,"tag":362,"props":4181,"children":4182},{"style":375},[4183],{"type":29,"value":616},{"type":23,"tag":362,"props":4185,"children":4186},{"style":369},[4187],{"type":29,"value":843},{"type":23,"tag":362,"props":4189,"children":4190},{"style":375},[4191],{"type":29,"value":829},{"type":23,"tag":362,"props":4193,"children":4194},{"style":369},[4195],{"type":29,"value":852},{"type":23,"tag":342,"props":4197,"children":4198},{"start":417},[4199],{"type":23,"tag":346,"props":4200,"children":4201},{},[4202,4203,4208,4209,4215],{"type":29,"value":1264},{"type":23,"tag":58,"props":4204,"children":4206},{"className":4205},[],[4207],{"type":29,"value":1270},{"type":29,"value":1272},{"type":23,"tag":58,"props":4210,"children":4212},{"className":4211},[],[4213],{"type":29,"value":4214},"source-timestamp-mysql.properties",{"type":29,"value":1280},{"type":23,"tag":352,"props":4217,"children":4219},{"className":1283,"code":4218,"language":1285,"meta":7,"style":7},"name=mysql-a-source-omneo\nconnector.class=io.confluent.connect.jdbc.JdbcSourceConnector\ntasks.max=1\nconnection.url=jdbc:mysql:\u002F\u002F172.21.23.238:3306\u002Ftest_kafka_connector?user=root&password=1qaz@WSX\n# incrementing  自增\nmode=timestamp\n# 自增字段  pid\ntimestamp.column.name=commenttime\n# 白名单表  person\ntable.whitelist=omneo_timestamp\n# topic前缀   mysql-kafka-\ntopic.prefix=mysql-kafka-\n",[4220],{"type":23,"tag":58,"props":4221,"children":4222},{"__ignoreMap":7},[4223,4238,4249,4260,4283,4290,4306,4313,4326,4333,4345,4352],{"type":23,"tag":362,"props":4224,"children":4225},{"class":364,"line":365},[4226,4230,4234],{"type":23,"tag":362,"props":4227,"children":4228},{"style":369},[4229],{"type":29,"value":1297},{"type":23,"tag":362,"props":4231,"children":4232},{"style":375},[4233],{"type":29,"value":829},{"type":23,"tag":362,"props":4235,"children":4236},{"style":436},[4237],{"type":29,"value":1306},{"type":23,"tag":362,"props":4239,"children":4240},{"class":364,"line":396},[4241,4245],{"type":23,"tag":362,"props":4242,"children":4243},{"style":461},[4244],{"type":29,"value":1314},{"type":23,"tag":362,"props":4246,"children":4247},{"style":436},[4248],{"type":29,"value":1319},{"type":23,"tag":362,"props":4250,"children":4251},{"class":364,"line":417},[4252,4256],{"type":23,"tag":362,"props":4253,"children":4254},{"style":461},[4255],{"type":29,"value":1327},{"type":23,"tag":362,"props":4257,"children":4258},{"style":436},[4259],{"type":29,"value":1332},{"type":23,"tag":362,"props":4261,"children":4262},{"class":364,"line":427},[4263,4267,4271,4275,4279],{"type":23,"tag":362,"props":4264,"children":4265},{"style":461},[4266],{"type":29,"value":1340},{"type":23,"tag":362,"props":4268,"children":4269},{"style":436},[4270],{"type":29,"value":1345},{"type":23,"tag":362,"props":4272,"children":4273},{"style":369},[4274],{"type":29,"value":1350},{"type":23,"tag":362,"props":4276,"children":4277},{"style":375},[4278],{"type":29,"value":829},{"type":23,"tag":362,"props":4280,"children":4281},{"style":436},[4282],{"type":29,"value":1359},{"type":23,"tag":362,"props":4284,"children":4285},{"class":364,"line":447},[4286],{"type":23,"tag":362,"props":4287,"children":4288},{"style":1365},[4289],{"type":29,"value":1368},{"type":23,"tag":362,"props":4291,"children":4292},{"class":364,"line":498},[4293,4297,4301],{"type":23,"tag":362,"props":4294,"children":4295},{"style":369},[4296],{"type":29,"value":1376},{"type":23,"tag":362,"props":4298,"children":4299},{"style":375},[4300],{"type":29,"value":829},{"type":23,"tag":362,"props":4302,"children":4303},{"style":436},[4304],{"type":29,"value":4305},"timestamp\n",{"type":23,"tag":362,"props":4307,"children":4308},{"class":364,"line":537},[4309],{"type":23,"tag":362,"props":4310,"children":4311},{"style":1365},[4312],{"type":29,"value":1393},{"type":23,"tag":362,"props":4314,"children":4315},{"class":364,"line":573},[4316,4321],{"type":23,"tag":362,"props":4317,"children":4318},{"style":461},[4319],{"type":29,"value":4320},"timestamp.column.name",{"type":23,"tag":362,"props":4322,"children":4323},{"style":436},[4324],{"type":29,"value":4325},"=commenttime\n",{"type":23,"tag":362,"props":4327,"children":4328},{"class":364,"line":628},[4329],{"type":23,"tag":362,"props":4330,"children":4331},{"style":1365},[4332],{"type":29,"value":1414},{"type":23,"tag":362,"props":4334,"children":4335},{"class":364,"line":677},[4336,4340],{"type":23,"tag":362,"props":4337,"children":4338},{"style":461},[4339],{"type":29,"value":1422},{"type":23,"tag":362,"props":4341,"children":4342},{"style":436},[4343],{"type":29,"value":4344},"=omneo_timestamp\n",{"type":23,"tag":362,"props":4346,"children":4347},{"class":364,"line":703},[4348],{"type":23,"tag":362,"props":4349,"children":4350},{"style":1365},[4351],{"type":29,"value":1435},{"type":23,"tag":362,"props":4353,"children":4354},{"class":364,"line":728},[4355,4359],{"type":23,"tag":362,"props":4356,"children":4357},{"style":461},[4358],{"type":29,"value":1443},{"type":23,"tag":362,"props":4360,"children":4361},{"style":436},[4362],{"type":29,"value":1448},{"type":23,"tag":342,"props":4364,"children":4365},{"start":427},[4366],{"type":23,"tag":346,"props":4367,"children":4368},{},[4369,4370,4376],{"type":29,"value":1456},{"type":23,"tag":58,"props":4371,"children":4373},{"className":4372},[],[4374],{"type":29,"value":4375},"sink-timestamp-mysql.properties",{"type":29,"value":1280},{"type":23,"tag":352,"props":4378,"children":4380},{"className":1283,"code":4379,"language":1285,"meta":7,"style":7},"name=mysql-a-sink-omneo\nconnector.class=io.confluent.connect.jdbc.JdbcSinkConnector\ntasks.max=1\n#kafka的topic名称\ntopics=mysql-kafka-omneo\n# 配置JDBC链接\nconnection.url=jdbc:mysql:\u002F\u002F172.21.23.238:3306\u002Fkafka_connector?user=root&password=1qaz@WSX\n# 不自动创建表，如果为true，会自动创建表，表名为topic名称\nauto.create=false\n# upsert model更新和插入\ninsert.mode=upsert\n# 下面两个参数配置了以pid为主键更新\npk.mode = record_value\npk.fields = pid\n#表名为kafkatable\ntable.name.format=kafka_omneo_timestamp\n",[4381],{"type":23,"tag":58,"props":4382,"children":4383},{"__ignoreMap":7},[4384,4399,4410,4421,4428,4444,4451,4474,4481,4496,4503,4514,4521,4536,4551,4558],{"type":23,"tag":362,"props":4385,"children":4386},{"class":364,"line":365},[4387,4391,4395],{"type":23,"tag":362,"props":4388,"children":4389},{"style":369},[4390],{"type":29,"value":1297},{"type":23,"tag":362,"props":4392,"children":4393},{"style":375},[4394],{"type":29,"value":829},{"type":23,"tag":362,"props":4396,"children":4397},{"style":436},[4398],{"type":29,"value":1486},{"type":23,"tag":362,"props":4400,"children":4401},{"class":364,"line":396},[4402,4406],{"type":23,"tag":362,"props":4403,"children":4404},{"style":461},[4405],{"type":29,"value":1314},{"type":23,"tag":362,"props":4407,"children":4408},{"style":436},[4409],{"type":29,"value":1498},{"type":23,"tag":362,"props":4411,"children":4412},{"class":364,"line":417},[4413,4417],{"type":23,"tag":362,"props":4414,"children":4415},{"style":461},[4416],{"type":29,"value":1327},{"type":23,"tag":362,"props":4418,"children":4419},{"style":436},[4420],{"type":29,"value":1332},{"type":23,"tag":362,"props":4422,"children":4423},{"class":364,"line":427},[4424],{"type":23,"tag":362,"props":4425,"children":4426},{"style":1365},[4427],{"type":29,"value":1517},{"type":23,"tag":362,"props":4429,"children":4430},{"class":364,"line":447},[4431,4435,4439],{"type":23,"tag":362,"props":4432,"children":4433},{"style":369},[4434],{"type":29,"value":1525},{"type":23,"tag":362,"props":4436,"children":4437},{"style":375},[4438],{"type":29,"value":829},{"type":23,"tag":362,"props":4440,"children":4441},{"style":436},[4442],{"type":29,"value":4443},"mysql-kafka-omneo\n",{"type":23,"tag":362,"props":4445,"children":4446},{"class":364,"line":498},[4447],{"type":23,"tag":362,"props":4448,"children":4449},{"style":1365},[4450],{"type":29,"value":1542},{"type":23,"tag":362,"props":4452,"children":4453},{"class":364,"line":537},[4454,4458,4462,4466,4470],{"type":23,"tag":362,"props":4455,"children":4456},{"style":461},[4457],{"type":29,"value":1340},{"type":23,"tag":362,"props":4459,"children":4460},{"style":436},[4461],{"type":29,"value":1554},{"type":23,"tag":362,"props":4463,"children":4464},{"style":369},[4465],{"type":29,"value":1350},{"type":23,"tag":362,"props":4467,"children":4468},{"style":375},[4469],{"type":29,"value":829},{"type":23,"tag":362,"props":4471,"children":4472},{"style":436},[4473],{"type":29,"value":1359},{"type":23,"tag":362,"props":4475,"children":4476},{"class":364,"line":573},[4477],{"type":23,"tag":362,"props":4478,"children":4479},{"style":1365},[4480],{"type":29,"value":1574},{"type":23,"tag":362,"props":4482,"children":4483},{"class":364,"line":628},[4484,4488,4492],{"type":23,"tag":362,"props":4485,"children":4486},{"style":461},[4487],{"type":29,"value":1582},{"type":23,"tag":362,"props":4489,"children":4490},{"style":436},[4491],{"type":29,"value":829},{"type":23,"tag":362,"props":4493,"children":4494},{"style":477},[4495],{"type":29,"value":1591},{"type":23,"tag":362,"props":4497,"children":4498},{"class":364,"line":677},[4499],{"type":23,"tag":362,"props":4500,"children":4501},{"style":1365},[4502],{"type":29,"value":1599},{"type":23,"tag":362,"props":4504,"children":4505},{"class":364,"line":703},[4506,4510],{"type":23,"tag":362,"props":4507,"children":4508},{"style":461},[4509],{"type":29,"value":1607},{"type":23,"tag":362,"props":4511,"children":4512},{"style":436},[4513],{"type":29,"value":1612},{"type":23,"tag":362,"props":4515,"children":4516},{"class":364,"line":728},[4517],{"type":23,"tag":362,"props":4518,"children":4519},{"style":1365},[4520],{"type":29,"value":1620},{"type":23,"tag":362,"props":4522,"children":4523},{"class":364,"line":753},[4524,4528,4532],{"type":23,"tag":362,"props":4525,"children":4526},{"style":461},[4527],{"type":29,"value":1628},{"type":23,"tag":362,"props":4529,"children":4530},{"style":436},[4531],{"type":29,"value":1633},{"type":23,"tag":362,"props":4533,"children":4534},{"style":436},[4535],{"type":29,"value":1638},{"type":23,"tag":362,"props":4537,"children":4538},{"class":364,"line":778},[4539,4543,4547],{"type":23,"tag":362,"props":4540,"children":4541},{"style":461},[4542],{"type":29,"value":1646},{"type":23,"tag":362,"props":4544,"children":4545},{"style":436},[4546],{"type":29,"value":1633},{"type":23,"tag":362,"props":4548,"children":4549},{"style":436},[4550],{"type":29,"value":1655},{"type":23,"tag":362,"props":4552,"children":4553},{"class":364,"line":804},[4554],{"type":23,"tag":362,"props":4555,"children":4556},{"style":1365},[4557],{"type":29,"value":1663},{"type":23,"tag":362,"props":4559,"children":4560},{"class":364,"line":818},[4561,4565],{"type":23,"tag":362,"props":4562,"children":4563},{"style":461},[4564],{"type":29,"value":1671},{"type":23,"tag":362,"props":4566,"children":4567},{"style":436},[4568],{"type":29,"value":4569},"=kafka_omneo_timestamp\n",{"type":23,"tag":342,"props":4571,"children":4572},{"start":447},[4573],{"type":23,"tag":346,"props":4574,"children":4575},{},[4576,4577,4581,4582,4588],{"type":29,"value":1684},{"type":23,"tag":67,"props":4578,"children":4579},{},[4580],{"type":29,"value":1689},{"type":29,"value":1691},{"type":23,"tag":58,"props":4583,"children":4585},{"className":4584},[],[4586],{"type":29,"value":4587},"mysql-kafka-omneo-timestamp",{"type":29,"value":1699},{"type":23,"tag":352,"props":4590,"children":4592},{"className":1283,"code":4591,"language":1285,"meta":7,"style":7},"kafka-topics.sh --create --zookeeper master:2181 --replication-factor 1 --partitions 1 --topic mysql-kafka-omneo_timestamp\n",[4593],{"type":23,"tag":58,"props":4594,"children":4595},{"__ignoreMap":7},[4596],{"type":23,"tag":362,"props":4597,"children":4598},{"class":364,"line":365},[4599,4603,4607,4611,4615,4619,4623,4627,4631,4635],{"type":23,"tag":362,"props":4600,"children":4601},{"style":461},[4602],{"type":29,"value":1714},{"type":23,"tag":362,"props":4604,"children":4605},{"style":477},[4606],{"type":29,"value":1719},{"type":23,"tag":362,"props":4608,"children":4609},{"style":477},[4610],{"type":29,"value":1724},{"type":23,"tag":362,"props":4612,"children":4613},{"style":436},[4614],{"type":29,"value":1729},{"type":23,"tag":362,"props":4616,"children":4617},{"style":477},[4618],{"type":29,"value":1734},{"type":23,"tag":362,"props":4620,"children":4621},{"style":477},[4622],{"type":29,"value":1739},{"type":23,"tag":362,"props":4624,"children":4625},{"style":477},[4626],{"type":29,"value":1744},{"type":23,"tag":362,"props":4628,"children":4629},{"style":477},[4630],{"type":29,"value":1739},{"type":23,"tag":362,"props":4632,"children":4633},{"style":477},[4634],{"type":29,"value":1753},{"type":23,"tag":362,"props":4636,"children":4637},{"style":436},[4638],{"type":29,"value":4639}," mysql-kafka-omneo_timestamp\n",{"type":23,"tag":342,"props":4641,"children":4642},{"start":498},[4643],{"type":23,"tag":346,"props":4644,"children":4645},{},[4646,4647,4652],{"type":29,"value":1766},{"type":23,"tag":58,"props":4648,"children":4650},{"className":4649},[],[4651],{"type":29,"value":1772},{"type":29,"value":1699},{"type":23,"tag":352,"props":4654,"children":4656},{"className":1283,"code":4655,"language":1285,"meta":7,"style":7},"connect-standalone.sh $KAFKA_HOME\u002Fconfig\u002Fconnect-standalone.properties $KAFKA_HOME\u002Fconfig\u002Fsource-timestamp-mysql.properties $KAFKA_HOME\u002Fconfig\u002Fsink-timestamp-mysql.properties\n",[4657],{"type":23,"tag":58,"props":4658,"children":4659},{"__ignoreMap":7},[4660],{"type":23,"tag":362,"props":4661,"children":4662},{"class":364,"line":365},[4663,4667,4671,4675,4679,4684,4688],{"type":23,"tag":362,"props":4664,"children":4665},{"style":461},[4666],{"type":29,"value":1788},{"type":23,"tag":362,"props":4668,"children":4669},{"style":369},[4670],{"type":29,"value":1793},{"type":23,"tag":362,"props":4672,"children":4673},{"style":436},[4674],{"type":29,"value":1798},{"type":23,"tag":362,"props":4676,"children":4677},{"style":369},[4678],{"type":29,"value":1793},{"type":23,"tag":362,"props":4680,"children":4681},{"style":436},[4682],{"type":29,"value":4683},"\u002Fconfig\u002Fsource-timestamp-mysql.properties",{"type":23,"tag":362,"props":4685,"children":4686},{"style":369},[4687],{"type":29,"value":1793},{"type":23,"tag":362,"props":4689,"children":4690},{"style":436},[4691],{"type":29,"value":4692},"\u002Fconfig\u002Fsink-timestamp-mysql.properties\n",{"type":23,"tag":342,"props":4694,"children":4695},{"start":537},[4696],{"type":23,"tag":346,"props":4697,"children":4698},{},[4699,4700,4706],{"type":29,"value":1837},{"type":23,"tag":58,"props":4701,"children":4703},{"className":4702},[],[4704],{"type":29,"value":4705},"test_kafka_connector.omneo_timestamp",{"type":29,"value":4707}," 插入4条测试数据",{"type":23,"tag":352,"props":4709,"children":4711},{"className":354,"code":4710,"language":356,"meta":7,"style":7},"insert into omneo_timestamp values(1,'8379693542a7-5bdb-d564-3133-276ae3ce','Gauthier',\"O'Dell\",'30\u002F06\u002F1998','05274','Cocagne','male','maried','2018-01-01 00:00:01');\ninsert into omneo_timestamp values(2,'8379693542a7-5bdb-d564-3133-276ae3ce','Gauthier',\"O'Dell\",'30\u002F06\u002F1998','05274','Cocagne','male','maried','2018-01-01 00:03:45');\ninsert into omneo_timestamp values(3,'8379693542a7-5bdb-d564-3133-276ae3ce','Gauthier',\"O'Dell\",'30\u002F06\u002F1998','05274','Cocagne','male','maried','2018-01-01 00:06:01');\ninsert into omneo_timestamp values(4,'8379693542a7-5bdb-d564-3133-276ae3ce','Gauthier',\"O'Dell\",'30\u002F06\u002F1998','05274','Cocagne','male','maried','2018-01-01 00:10:01');\n",[4712],{"type":23,"tag":58,"props":4713,"children":4714},{"__ignoreMap":7},[4715,4816,4916,5016],{"type":23,"tag":362,"props":4716,"children":4717},{"class":364,"line":365},[4718,4722,4727,4731,4735,4739,4743,4747,4751,4755,4759,4763,4767,4771,4775,4779,4783,4787,4791,4795,4799,4803,4807,4812],{"type":23,"tag":362,"props":4719,"children":4720},{"style":375},[4721],{"type":29,"value":1860},{"type":23,"tag":362,"props":4723,"children":4724},{"style":369},[4725],{"type":29,"value":4726}," omneo_timestamp ",{"type":23,"tag":362,"props":4728,"children":4729},{"style":375},[4730],{"type":29,"value":1879},{"type":23,"tag":362,"props":4732,"children":4733},{"style":369},[4734],{"type":29,"value":514},{"type":23,"tag":362,"props":4736,"children":4737},{"style":477},[4738],{"type":29,"value":1888},{"type":23,"tag":362,"props":4740,"children":4741},{"style":369},[4742],{"type":29,"value":1893},{"type":23,"tag":362,"props":4744,"children":4745},{"style":436},[4746],{"type":29,"value":2221},{"type":23,"tag":362,"props":4748,"children":4749},{"style":369},[4750],{"type":29,"value":1893},{"type":23,"tag":362,"props":4752,"children":4753},{"style":436},[4754],{"type":29,"value":2230},{"type":23,"tag":362,"props":4756,"children":4757},{"style":369},[4758],{"type":29,"value":1893},{"type":23,"tag":362,"props":4760,"children":4761},{"style":436},[4762],{"type":29,"value":3012},{"type":23,"tag":362,"props":4764,"children":4765},{"style":369},[4766],{"type":29,"value":1893},{"type":23,"tag":362,"props":4768,"children":4769},{"style":436},[4770],{"type":29,"value":2247},{"type":23,"tag":362,"props":4772,"children":4773},{"style":369},[4774],{"type":29,"value":1893},{"type":23,"tag":362,"props":4776,"children":4777},{"style":436},[4778],{"type":29,"value":2043},{"type":23,"tag":362,"props":4780,"children":4781},{"style":369},[4782],{"type":29,"value":1893},{"type":23,"tag":362,"props":4784,"children":4785},{"style":436},[4786],{"type":29,"value":2264},{"type":23,"tag":362,"props":4788,"children":4789},{"style":369},[4790],{"type":29,"value":1893},{"type":23,"tag":362,"props":4792,"children":4793},{"style":436},[4794],{"type":29,"value":2273},{"type":23,"tag":362,"props":4796,"children":4797},{"style":369},[4798],{"type":29,"value":1893},{"type":23,"tag":362,"props":4800,"children":4801},{"style":436},[4802],{"type":29,"value":1961},{"type":23,"tag":362,"props":4804,"children":4805},{"style":369},[4806],{"type":29,"value":1893},{"type":23,"tag":362,"props":4808,"children":4809},{"style":436},[4810],{"type":29,"value":4811},"'2018-01-01 00:00:01'",{"type":23,"tag":362,"props":4813,"children":4814},{"style":369},[4815],{"type":29,"value":1966},{"type":23,"tag":362,"props":4817,"children":4818},{"class":364,"line":396},[4819,4823,4827,4831,4835,4839,4843,4847,4851,4855,4859,4863,4867,4871,4875,4879,4883,4887,4891,4895,4899,4903,4907,4912],{"type":23,"tag":362,"props":4820,"children":4821},{"style":375},[4822],{"type":29,"value":1860},{"type":23,"tag":362,"props":4824,"children":4825},{"style":369},[4826],{"type":29,"value":4726},{"type":23,"tag":362,"props":4828,"children":4829},{"style":375},[4830],{"type":29,"value":1879},{"type":23,"tag":362,"props":4832,"children":4833},{"style":369},[4834],{"type":29,"value":514},{"type":23,"tag":362,"props":4836,"children":4837},{"style":477},[4838],{"type":29,"value":1998},{"type":23,"tag":362,"props":4840,"children":4841},{"style":369},[4842],{"type":29,"value":1893},{"type":23,"tag":362,"props":4844,"children":4845},{"style":436},[4846],{"type":29,"value":2221},{"type":23,"tag":362,"props":4848,"children":4849},{"style":369},[4850],{"type":29,"value":1893},{"type":23,"tag":362,"props":4852,"children":4853},{"style":436},[4854],{"type":29,"value":2230},{"type":23,"tag":362,"props":4856,"children":4857},{"style":369},[4858],{"type":29,"value":1893},{"type":23,"tag":362,"props":4860,"children":4861},{"style":436},[4862],{"type":29,"value":3012},{"type":23,"tag":362,"props":4864,"children":4865},{"style":369},[4866],{"type":29,"value":1893},{"type":23,"tag":362,"props":4868,"children":4869},{"style":436},[4870],{"type":29,"value":2247},{"type":23,"tag":362,"props":4872,"children":4873},{"style":369},[4874],{"type":29,"value":1893},{"type":23,"tag":362,"props":4876,"children":4877},{"style":436},[4878],{"type":29,"value":2043},{"type":23,"tag":362,"props":4880,"children":4881},{"style":369},[4882],{"type":29,"value":1893},{"type":23,"tag":362,"props":4884,"children":4885},{"style":436},[4886],{"type":29,"value":2264},{"type":23,"tag":362,"props":4888,"children":4889},{"style":369},[4890],{"type":29,"value":1893},{"type":23,"tag":362,"props":4892,"children":4893},{"style":436},[4894],{"type":29,"value":2273},{"type":23,"tag":362,"props":4896,"children":4897},{"style":369},[4898],{"type":29,"value":1893},{"type":23,"tag":362,"props":4900,"children":4901},{"style":436},[4902],{"type":29,"value":1961},{"type":23,"tag":362,"props":4904,"children":4905},{"style":369},[4906],{"type":29,"value":1893},{"type":23,"tag":362,"props":4908,"children":4909},{"style":436},[4910],{"type":29,"value":4911},"'2018-01-01 00:03:45'",{"type":23,"tag":362,"props":4913,"children":4914},{"style":369},[4915],{"type":29,"value":1966},{"type":23,"tag":362,"props":4917,"children":4918},{"class":364,"line":417},[4919,4923,4927,4931,4935,4939,4943,4947,4951,4955,4959,4963,4967,4971,4975,4979,4983,4987,4991,4995,4999,5003,5007,5012],{"type":23,"tag":362,"props":4920,"children":4921},{"style":375},[4922],{"type":29,"value":1860},{"type":23,"tag":362,"props":4924,"children":4925},{"style":369},[4926],{"type":29,"value":4726},{"type":23,"tag":362,"props":4928,"children":4929},{"style":375},[4930],{"type":29,"value":1879},{"type":23,"tag":362,"props":4932,"children":4933},{"style":369},[4934],{"type":29,"value":514},{"type":23,"tag":362,"props":4936,"children":4937},{"style":477},[4938],{"type":29,"value":2106},{"type":23,"tag":362,"props":4940,"children":4941},{"style":369},[4942],{"type":29,"value":1893},{"type":23,"tag":362,"props":4944,"children":4945},{"style":436},[4946],{"type":29,"value":2221},{"type":23,"tag":362,"props":4948,"children":4949},{"style":369},[4950],{"type":29,"value":1893},{"type":23,"tag":362,"props":4952,"children":4953},{"style":436},[4954],{"type":29,"value":2230},{"type":23,"tag":362,"props":4956,"children":4957},{"style":369},[4958],{"type":29,"value":1893},{"type":23,"tag":362,"props":4960,"children":4961},{"style":436},[4962],{"type":29,"value":3012},{"type":23,"tag":362,"props":4964,"children":4965},{"style":369},[4966],{"type":29,"value":1893},{"type":23,"tag":362,"props":4968,"children":4969},{"style":436},[4970],{"type":29,"value":2247},{"type":23,"tag":362,"props":4972,"children":4973},{"style":369},[4974],{"type":29,"value":1893},{"type":23,"tag":362,"props":4976,"children":4977},{"style":436},[4978],{"type":29,"value":2043},{"type":23,"tag":362,"props":4980,"children":4981},{"style":369},[4982],{"type":29,"value":1893},{"type":23,"tag":362,"props":4984,"children":4985},{"style":436},[4986],{"type":29,"value":2264},{"type":23,"tag":362,"props":4988,"children":4989},{"style":369},[4990],{"type":29,"value":1893},{"type":23,"tag":362,"props":4992,"children":4993},{"style":436},[4994],{"type":29,"value":2273},{"type":23,"tag":362,"props":4996,"children":4997},{"style":369},[4998],{"type":29,"value":1893},{"type":23,"tag":362,"props":5000,"children":5001},{"style":436},[5002],{"type":29,"value":1961},{"type":23,"tag":362,"props":5004,"children":5005},{"style":369},[5006],{"type":29,"value":1893},{"type":23,"tag":362,"props":5008,"children":5009},{"style":436},[5010],{"type":29,"value":5011},"'2018-01-01 00:06:01'",{"type":23,"tag":362,"props":5013,"children":5014},{"style":369},[5015],{"type":29,"value":1966},{"type":23,"tag":362,"props":5017,"children":5018},{"class":364,"line":427},[5019,5023,5027,5031,5035,5039,5043,5047,5051,5055,5059,5063,5067,5071,5075,5079,5083,5087,5091,5095,5099,5103,5107,5112],{"type":23,"tag":362,"props":5020,"children":5021},{"style":375},[5022],{"type":29,"value":1860},{"type":23,"tag":362,"props":5024,"children":5025},{"style":369},[5026],{"type":29,"value":4726},{"type":23,"tag":362,"props":5028,"children":5029},{"style":375},[5030],{"type":29,"value":1879},{"type":23,"tag":362,"props":5032,"children":5033},{"style":369},[5034],{"type":29,"value":514},{"type":23,"tag":362,"props":5036,"children":5037},{"style":477},[5038],{"type":29,"value":2212},{"type":23,"tag":362,"props":5040,"children":5041},{"style":369},[5042],{"type":29,"value":1893},{"type":23,"tag":362,"props":5044,"children":5045},{"style":436},[5046],{"type":29,"value":2221},{"type":23,"tag":362,"props":5048,"children":5049},{"style":369},[5050],{"type":29,"value":1893},{"type":23,"tag":362,"props":5052,"children":5053},{"style":436},[5054],{"type":29,"value":2230},{"type":23,"tag":362,"props":5056,"children":5057},{"style":369},[5058],{"type":29,"value":1893},{"type":23,"tag":362,"props":5060,"children":5061},{"style":436},[5062],{"type":29,"value":3012},{"type":23,"tag":362,"props":5064,"children":5065},{"style":369},[5066],{"type":29,"value":1893},{"type":23,"tag":362,"props":5068,"children":5069},{"style":436},[5070],{"type":29,"value":2247},{"type":23,"tag":362,"props":5072,"children":5073},{"style":369},[5074],{"type":29,"value":1893},{"type":23,"tag":362,"props":5076,"children":5077},{"style":436},[5078],{"type":29,"value":2043},{"type":23,"tag":362,"props":5080,"children":5081},{"style":369},[5082],{"type":29,"value":1893},{"type":23,"tag":362,"props":5084,"children":5085},{"style":436},[5086],{"type":29,"value":2264},{"type":23,"tag":362,"props":5088,"children":5089},{"style":369},[5090],{"type":29,"value":1893},{"type":23,"tag":362,"props":5092,"children":5093},{"style":436},[5094],{"type":29,"value":2273},{"type":23,"tag":362,"props":5096,"children":5097},{"style":369},[5098],{"type":29,"value":1893},{"type":23,"tag":362,"props":5100,"children":5101},{"style":436},[5102],{"type":29,"value":1961},{"type":23,"tag":362,"props":5104,"children":5105},{"style":369},[5106],{"type":29,"value":1893},{"type":23,"tag":362,"props":5108,"children":5109},{"style":436},[5110],{"type":29,"value":5111},"'2018-01-01 00:10:01'",{"type":23,"tag":362,"props":5113,"children":5114},{"style":369},[5115],{"type":29,"value":1966},{"type":23,"tag":342,"props":5117,"children":5118},{"start":573},[5119,5131],{"type":23,"tag":346,"props":5120,"children":5121},{},[5122,5123,5129],{"type":29,"value":2916},{"type":23,"tag":58,"props":5124,"children":5126},{"className":5125},[],[5127],{"type":29,"value":5128},"mysql-kafka-omneo_timestamp",{"type":29,"value":5130}," 主题数据被消费到了控制台。",{"type":23,"tag":346,"props":5132,"children":5133},{},[5134,5136,5141,5142,5147,5149,5155,5157],{"type":29,"value":5135},"修改 pid 为 ",{"type":23,"tag":58,"props":5137,"children":5139},{"className":5138},[],[5140],{"type":29,"value":1998},{"type":29,"value":3368},{"type":23,"tag":58,"props":5143,"children":5145},{"className":5144},[],[5146],{"type":29,"value":2212},{"type":29,"value":5148}," 的 ",{"type":23,"tag":58,"props":5150,"children":5152},{"className":5151},[],[5153],{"type":29,"value":5154},"firstname",{"type":29,"value":5156}," ，并修改业务时间字段 ",{"type":23,"tag":58,"props":5158,"children":5160},{"className":5159},[],[5161],{"type":29,"value":5162},"commenttime",{"type":23,"tag":352,"props":5164,"children":5166},{"className":354,"code":5165,"language":356,"meta":7,"style":7},"update omneo_timestamp set firstname = \"world\" ,commenttime=\"2018-12-20 15:55:10\" where pid in(2,4);\n",[5167],{"type":23,"tag":58,"props":5168,"children":5169},{"__ignoreMap":7},[5170],{"type":23,"tag":362,"props":5171,"children":5172},{"class":364,"line":365},[5173,5178,5182,5187,5192,5196,5201,5206,5210,5215,5220,5225,5230,5234,5238,5242,5246],{"type":23,"tag":362,"props":5174,"children":5175},{"style":375},[5176],{"type":29,"value":5177},"update",{"type":23,"tag":362,"props":5179,"children":5180},{"style":369},[5181],{"type":29,"value":4726},{"type":23,"tag":362,"props":5183,"children":5184},{"style":375},[5185],{"type":29,"value":5186},"set",{"type":23,"tag":362,"props":5188,"children":5189},{"style":369},[5190],{"type":29,"value":5191}," firstname ",{"type":23,"tag":362,"props":5193,"children":5194},{"style":375},[5195],{"type":29,"value":829},{"type":23,"tag":362,"props":5197,"children":5198},{"style":436},[5199],{"type":29,"value":5200}," \"world\"",{"type":23,"tag":362,"props":5202,"children":5203},{"style":369},[5204],{"type":29,"value":5205}," ,commenttime",{"type":23,"tag":362,"props":5207,"children":5208},{"style":375},[5209],{"type":29,"value":829},{"type":23,"tag":362,"props":5211,"children":5212},{"style":436},[5213],{"type":29,"value":5214},"\"2018-12-20 15:55:10\"",{"type":23,"tag":362,"props":5216,"children":5217},{"style":375},[5218],{"type":29,"value":5219}," where",{"type":23,"tag":362,"props":5221,"children":5222},{"style":369},[5223],{"type":29,"value":5224}," pid ",{"type":23,"tag":362,"props":5226,"children":5227},{"style":375},[5228],{"type":29,"value":5229},"in",{"type":23,"tag":362,"props":5231,"children":5232},{"style":369},[5233],{"type":29,"value":514},{"type":23,"tag":362,"props":5235,"children":5236},{"style":477},[5237],{"type":29,"value":1998},{"type":23,"tag":362,"props":5239,"children":5240},{"style":369},[5241],{"type":29,"value":1893},{"type":23,"tag":362,"props":5243,"children":5244},{"style":477},[5245],{"type":29,"value":2212},{"type":23,"tag":362,"props":5247,"children":5248},{"style":369},[5249],{"type":29,"value":1966},{"type":23,"tag":342,"props":5251,"children":5252},{"start":677},[5253],{"type":23,"tag":346,"props":5254,"children":5255},{},[5256,5257,5262],{"type":29,"value":2916},{"type":23,"tag":58,"props":5258,"children":5260},{"className":5259},[],[5261],{"type":29,"value":5128},{"type":29,"value":5263}," 主题数据产生了变化",{"type":23,"tag":24,"props":5265,"children":5267},{"id":5266},"timestamp-结论",[5268],{"type":29,"value":5269},"timestamp 结论",{"type":23,"tag":342,"props":5271,"children":5272},{},[5273,5278],{"type":23,"tag":346,"props":5274,"children":5275},{},[5276],{"type":29,"value":5277},"如果修改的时间戳早于latest time ，则不会洞察到更新。例如MySQL中的now()获取当前时间就是很好的能被获取到的例子。",{"type":23,"tag":346,"props":5279,"children":5280},{},[5281],{"type":29,"value":5282},"源表向目标表传输数据，假设有两条（或以上）的数据行拥有同样的时间戳，如果在传输第二条的过程中崩溃，恢复过后第二条将会被丢失，因为latest time已经被记录过了，他只会去找更新的下一次时间。这种方式虽然能获取到update更新，但是不够稳健。而如果使用自增字段加时间戳字段混合的方式，即使崩溃也能记录到更新的最大ID,恢复之后可以被找到不会丢失。因此我们更推荐第三种方式！timestamp+incrementing",{"type":23,"tag":24,"props":5284,"children":5286},{"id":5285},"incrementing-timestamp-混合模式",[5287],{"type":29,"value":5288},"incrementing + timestamp 混合模式",{"type":23,"tag":342,"props":5290,"children":5291},{},[5292],{"type":23,"tag":346,"props":5293,"children":5294},{},[5295,5296,5301],{"type":29,"value":1684},{"type":23,"tag":58,"props":5297,"children":5299},{"className":5298},[],[5300],{"type":29,"value":3395},{"type":29,"value":5302}," 库 omneo_incrementing_timestamp 测试表",{"type":23,"tag":352,"props":5304,"children":5306},{"className":354,"code":5305,"language":356,"meta":7,"style":7},"CREATE TABLE IF NOT EXISTS test_kafka_connector.omneo_incrementing_timestamp(\n    pid int(11) NOT NULL AUTO_INCREMENT,\n    uuid varchar(100) NOT NULL,\n    firstname varchar(20) CHARACTER SET utf8 DEFAULT NULL,\n    lastname varchar(20) CHARACTER SET utf8 DEFAULT NULL,\n    birthdate varchar(20),\n    postalcode varchar(20),\n    city varchar(20),\n    sexe varchar(20),\n    status varchar(20),\n    commenttime timestamp NOT NULL DEFAULT current_timestamp,\n    PRIMARY KEY (pid)\n)ENGINE=InnoDB DEFAULT CHARSET=utf8;\n",[5307],{"type":23,"tag":58,"props":5308,"children":5309},{"__ignoreMap":7},[5310,5350,5381,5412,5459,5506,5529,5552,5575,5598,5621,5644,5655],{"type":23,"tag":362,"props":5311,"children":5312},{"class":364,"line":365},[5313,5317,5321,5325,5329,5333,5337,5341,5346],{"type":23,"tag":362,"props":5314,"children":5315},{"style":375},[5316],{"type":29,"value":453},{"type":23,"tag":362,"props":5318,"children":5319},{"style":375},[5320],{"type":29,"value":458},{"type":23,"tag":362,"props":5322,"children":5323},{"style":461},[5324],{"type":29,"value":464},{"type":23,"tag":362,"props":5326,"children":5327},{"style":375},[5328],{"type":29,"value":469},{"type":23,"tag":362,"props":5330,"children":5331},{"style":375},[5332],{"type":29,"value":474},{"type":23,"tag":362,"props":5334,"children":5335},{"style":477},[5336],{"type":29,"value":480},{"type":23,"tag":362,"props":5338,"children":5339},{"style":369},[5340],{"type":29,"value":485},{"type":23,"tag":362,"props":5342,"children":5343},{"style":477},[5344],{"type":29,"value":5345},"omneo_incrementing_timestamp",{"type":23,"tag":362,"props":5347,"children":5348},{"style":369},[5349],{"type":29,"value":495},{"type":23,"tag":362,"props":5351,"children":5352},{"class":364,"line":396},[5353,5357,5361,5365,5369,5373,5377],{"type":23,"tag":362,"props":5354,"children":5355},{"style":369},[5356],{"type":29,"value":504},{"type":23,"tag":362,"props":5358,"children":5359},{"style":375},[5360],{"type":29,"value":509},{"type":23,"tag":362,"props":5362,"children":5363},{"style":369},[5364],{"type":29,"value":514},{"type":23,"tag":362,"props":5366,"children":5367},{"style":477},[5368],{"type":29,"value":519},{"type":23,"tag":362,"props":5370,"children":5371},{"style":369},[5372],{"type":29,"value":524},{"type":23,"tag":362,"props":5374,"children":5375},{"style":375},[5376],{"type":29,"value":529},{"type":23,"tag":362,"props":5378,"children":5379},{"style":369},[5380],{"type":29,"value":534},{"type":23,"tag":362,"props":5382,"children":5383},{"class":364,"line":417},[5384,5388,5392,5396,5400,5404,5408],{"type":23,"tag":362,"props":5385,"children":5386},{"style":369},[5387],{"type":29,"value":543},{"type":23,"tag":362,"props":5389,"children":5390},{"style":375},[5391],{"type":29,"value":548},{"type":23,"tag":362,"props":5393,"children":5394},{"style":369},[5395],{"type":29,"value":514},{"type":23,"tag":362,"props":5397,"children":5398},{"style":477},[5399],{"type":29,"value":557},{"type":23,"tag":362,"props":5401,"children":5402},{"style":369},[5403],{"type":29,"value":524},{"type":23,"tag":362,"props":5405,"children":5406},{"style":375},[5407],{"type":29,"value":529},{"type":23,"tag":362,"props":5409,"children":5410},{"style":369},[5411],{"type":29,"value":570},{"type":23,"tag":362,"props":5413,"children":5414},{"class":364,"line":427},[5415,5419,5423,5427,5431,5435,5439,5443,5447,5451,5455],{"type":23,"tag":362,"props":5416,"children":5417},{"style":369},[5418],{"type":29,"value":579},{"type":23,"tag":362,"props":5420,"children":5421},{"style":375},[5422],{"type":29,"value":548},{"type":23,"tag":362,"props":5424,"children":5425},{"style":369},[5426],{"type":29,"value":514},{"type":23,"tag":362,"props":5428,"children":5429},{"style":477},[5430],{"type":29,"value":592},{"type":23,"tag":362,"props":5432,"children":5433},{"style":369},[5434],{"type":29,"value":524},{"type":23,"tag":362,"props":5436,"children":5437},{"style":375},[5438],{"type":29,"value":601},{"type":23,"tag":362,"props":5440,"children":5441},{"style":375},[5442],{"type":29,"value":606},{"type":23,"tag":362,"props":5444,"children":5445},{"style":369},[5446],{"type":29,"value":611},{"type":23,"tag":362,"props":5448,"children":5449},{"style":375},[5450],{"type":29,"value":616},{"type":23,"tag":362,"props":5452,"children":5453},{"style":375},[5454],{"type":29,"value":621},{"type":23,"tag":362,"props":5456,"children":5457},{"style":369},[5458],{"type":29,"value":570},{"type":23,"tag":362,"props":5460,"children":5461},{"class":364,"line":447},[5462,5466,5470,5474,5478,5482,5486,5490,5494,5498,5502],{"type":23,"tag":362,"props":5463,"children":5464},{"style":369},[5465],{"type":29,"value":634},{"type":23,"tag":362,"props":5467,"children":5468},{"style":375},[5469],{"type":29,"value":548},{"type":23,"tag":362,"props":5471,"children":5472},{"style":369},[5473],{"type":29,"value":514},{"type":23,"tag":362,"props":5475,"children":5476},{"style":477},[5477],{"type":29,"value":592},{"type":23,"tag":362,"props":5479,"children":5480},{"style":369},[5481],{"type":29,"value":524},{"type":23,"tag":362,"props":5483,"children":5484},{"style":375},[5485],{"type":29,"value":601},{"type":23,"tag":362,"props":5487,"children":5488},{"style":375},[5489],{"type":29,"value":606},{"type":23,"tag":362,"props":5491,"children":5492},{"style":369},[5493],{"type":29,"value":611},{"type":23,"tag":362,"props":5495,"children":5496},{"style":375},[5497],{"type":29,"value":616},{"type":23,"tag":362,"props":5499,"children":5500},{"style":375},[5501],{"type":29,"value":621},{"type":23,"tag":362,"props":5503,"children":5504},{"style":369},[5505],{"type":29,"value":570},{"type":23,"tag":362,"props":5507,"children":5508},{"class":364,"line":498},[5509,5513,5517,5521,5525],{"type":23,"tag":362,"props":5510,"children":5511},{"style":369},[5512],{"type":29,"value":683},{"type":23,"tag":362,"props":5514,"children":5515},{"style":375},[5516],{"type":29,"value":548},{"type":23,"tag":362,"props":5518,"children":5519},{"style":369},[5520],{"type":29,"value":514},{"type":23,"tag":362,"props":5522,"children":5523},{"style":477},[5524],{"type":29,"value":592},{"type":23,"tag":362,"props":5526,"children":5527},{"style":369},[5528],{"type":29,"value":700},{"type":23,"tag":362,"props":5530,"children":5531},{"class":364,"line":537},[5532,5536,5540,5544,5548],{"type":23,"tag":362,"props":5533,"children":5534},{"style":369},[5535],{"type":29,"value":709},{"type":23,"tag":362,"props":5537,"children":5538},{"style":375},[5539],{"type":29,"value":548},{"type":23,"tag":362,"props":5541,"children":5542},{"style":369},[5543],{"type":29,"value":514},{"type":23,"tag":362,"props":5545,"children":5546},{"style":477},[5547],{"type":29,"value":592},{"type":23,"tag":362,"props":5549,"children":5550},{"style":369},[5551],{"type":29,"value":700},{"type":23,"tag":362,"props":5553,"children":5554},{"class":364,"line":573},[5555,5559,5563,5567,5571],{"type":23,"tag":362,"props":5556,"children":5557},{"style":369},[5558],{"type":29,"value":734},{"type":23,"tag":362,"props":5560,"children":5561},{"style":375},[5562],{"type":29,"value":548},{"type":23,"tag":362,"props":5564,"children":5565},{"style":369},[5566],{"type":29,"value":514},{"type":23,"tag":362,"props":5568,"children":5569},{"style":477},[5570],{"type":29,"value":592},{"type":23,"tag":362,"props":5572,"children":5573},{"style":369},[5574],{"type":29,"value":700},{"type":23,"tag":362,"props":5576,"children":5577},{"class":364,"line":628},[5578,5582,5586,5590,5594],{"type":23,"tag":362,"props":5579,"children":5580},{"style":369},[5581],{"type":29,"value":759},{"type":23,"tag":362,"props":5583,"children":5584},{"style":375},[5585],{"type":29,"value":548},{"type":23,"tag":362,"props":5587,"children":5588},{"style":369},[5589],{"type":29,"value":514},{"type":23,"tag":362,"props":5591,"children":5592},{"style":477},[5593],{"type":29,"value":592},{"type":23,"tag":362,"props":5595,"children":5596},{"style":369},[5597],{"type":29,"value":700},{"type":23,"tag":362,"props":5599,"children":5600},{"class":364,"line":677},[5601,5605,5609,5613,5617],{"type":23,"tag":362,"props":5602,"children":5603},{"style":375},[5604],{"type":29,"value":784},{"type":23,"tag":362,"props":5606,"children":5607},{"style":375},[5608],{"type":29,"value":789},{"type":23,"tag":362,"props":5610,"children":5611},{"style":369},[5612],{"type":29,"value":514},{"type":23,"tag":362,"props":5614,"children":5615},{"style":477},[5616],{"type":29,"value":592},{"type":23,"tag":362,"props":5618,"children":5619},{"style":369},[5620],{"type":29,"value":700},{"type":23,"tag":362,"props":5622,"children":5623},{"class":364,"line":703},[5624,5628,5632,5636,5640],{"type":23,"tag":362,"props":5625,"children":5626},{"style":369},[5627],{"type":29,"value":3723},{"type":23,"tag":362,"props":5629,"children":5630},{"style":375},[5631],{"type":29,"value":3728},{"type":23,"tag":362,"props":5633,"children":5634},{"style":375},[5635],{"type":29,"value":3733},{"type":23,"tag":362,"props":5637,"children":5638},{"style":375},[5639],{"type":29,"value":3738},{"type":23,"tag":362,"props":5641,"children":5642},{"style":369},[5643],{"type":29,"value":3743},{"type":23,"tag":362,"props":5645,"children":5646},{"class":364,"line":728},[5647,5651],{"type":23,"tag":362,"props":5648,"children":5649},{"style":375},[5650],{"type":29,"value":810},{"type":23,"tag":362,"props":5652,"children":5653},{"style":369},[5654],{"type":29,"value":815},{"type":23,"tag":362,"props":5656,"children":5657},{"class":364,"line":753},[5658,5662,5666,5670,5674,5678,5682],{"type":23,"tag":362,"props":5659,"children":5660},{"style":369},[5661],{"type":29,"value":824},{"type":23,"tag":362,"props":5663,"children":5664},{"style":375},[5665],{"type":29,"value":829},{"type":23,"tag":362,"props":5667,"children":5668},{"style":369},[5669],{"type":29,"value":834},{"type":23,"tag":362,"props":5671,"children":5672},{"style":375},[5673],{"type":29,"value":616},{"type":23,"tag":362,"props":5675,"children":5676},{"style":369},[5677],{"type":29,"value":843},{"type":23,"tag":362,"props":5679,"children":5680},{"style":375},[5681],{"type":29,"value":829},{"type":23,"tag":362,"props":5683,"children":5684},{"style":369},[5685],{"type":29,"value":852},{"type":23,"tag":342,"props":5687,"children":5688},{"start":396},[5689],{"type":23,"tag":346,"props":5690,"children":5691},{},[5692,5693,5698],{"type":29,"value":1684},{"type":23,"tag":58,"props":5694,"children":5696},{"className":5695},[],[5697],{"type":29,"value":3806},{"type":29,"value":5699}," 库 kafka_omneo_incrementing_timestamp 测试表",{"type":23,"tag":352,"props":5701,"children":5703},{"className":354,"code":5702,"language":356,"meta":7,"style":7},"CREATE TABLE IF NOT EXISTS kafka_connector.kafka_omneo_incrementing_timestamp(\n    pid int(11) NOT NULL AUTO_INCREMENT,\n    uuid varchar(100) NOT NULL,\n    firstname varchar(20) CHARACTER SET utf8 DEFAULT NULL,\n    lastname varchar(20) CHARACTER SET utf8 DEFAULT NULL,\n    birthdate varchar(20),\n    postalcode varchar(20),\n    city varchar(20),\n    sexe varchar(20),\n    status varchar(20),\n    commenttime timestamp NOT NULL DEFAULT current_timestamp,\n    PRIMARY KEY (pid)\n)ENGINE=InnoDB DEFAULT CHARSET=utf8;\n",[5704],{"type":23,"tag":58,"props":5705,"children":5706},{"__ignoreMap":7},[5707,5747,5778,5809,5856,5903,5926,5949,5972,5995,6018,6041,6052],{"type":23,"tag":362,"props":5708,"children":5709},{"class":364,"line":365},[5710,5714,5718,5722,5726,5730,5734,5738,5743],{"type":23,"tag":362,"props":5711,"children":5712},{"style":375},[5713],{"type":29,"value":453},{"type":23,"tag":362,"props":5715,"children":5716},{"style":375},[5717],{"type":29,"value":458},{"type":23,"tag":362,"props":5719,"children":5720},{"style":461},[5721],{"type":29,"value":464},{"type":23,"tag":362,"props":5723,"children":5724},{"style":375},[5725],{"type":29,"value":469},{"type":23,"tag":362,"props":5727,"children":5728},{"style":375},[5729],{"type":29,"value":474},{"type":23,"tag":362,"props":5731,"children":5732},{"style":477},[5733],{"type":29,"value":907},{"type":23,"tag":362,"props":5735,"children":5736},{"style":369},[5737],{"type":29,"value":485},{"type":23,"tag":362,"props":5739,"children":5740},{"style":477},[5741],{"type":29,"value":5742},"kafka_omneo_incrementing_timestamp",{"type":23,"tag":362,"props":5744,"children":5745},{"style":369},[5746],{"type":29,"value":495},{"type":23,"tag":362,"props":5748,"children":5749},{"class":364,"line":396},[5750,5754,5758,5762,5766,5770,5774],{"type":23,"tag":362,"props":5751,"children":5752},{"style":369},[5753],{"type":29,"value":504},{"type":23,"tag":362,"props":5755,"children":5756},{"style":375},[5757],{"type":29,"value":509},{"type":23,"tag":362,"props":5759,"children":5760},{"style":369},[5761],{"type":29,"value":514},{"type":23,"tag":362,"props":5763,"children":5764},{"style":477},[5765],{"type":29,"value":519},{"type":23,"tag":362,"props":5767,"children":5768},{"style":369},[5769],{"type":29,"value":524},{"type":23,"tag":362,"props":5771,"children":5772},{"style":375},[5773],{"type":29,"value":529},{"type":23,"tag":362,"props":5775,"children":5776},{"style":369},[5777],{"type":29,"value":534},{"type":23,"tag":362,"props":5779,"children":5780},{"class":364,"line":417},[5781,5785,5789,5793,5797,5801,5805],{"type":23,"tag":362,"props":5782,"children":5783},{"style":369},[5784],{"type":29,"value":543},{"type":23,"tag":362,"props":5786,"children":5787},{"style":375},[5788],{"type":29,"value":548},{"type":23,"tag":362,"props":5790,"children":5791},{"style":369},[5792],{"type":29,"value":514},{"type":23,"tag":362,"props":5794,"children":5795},{"style":477},[5796],{"type":29,"value":557},{"type":23,"tag":362,"props":5798,"children":5799},{"style":369},[5800],{"type":29,"value":524},{"type":23,"tag":362,"props":5802,"children":5803},{"style":375},[5804],{"type":29,"value":529},{"type":23,"tag":362,"props":5806,"children":5807},{"style":369},[5808],{"type":29,"value":570},{"type":23,"tag":362,"props":5810,"children":5811},{"class":364,"line":427},[5812,5816,5820,5824,5828,5832,5836,5840,5844,5848,5852],{"type":23,"tag":362,"props":5813,"children":5814},{"style":369},[5815],{"type":29,"value":579},{"type":23,"tag":362,"props":5817,"children":5818},{"style":375},[5819],{"type":29,"value":548},{"type":23,"tag":362,"props":5821,"children":5822},{"style":369},[5823],{"type":29,"value":514},{"type":23,"tag":362,"props":5825,"children":5826},{"style":477},[5827],{"type":29,"value":592},{"type":23,"tag":362,"props":5829,"children":5830},{"style":369},[5831],{"type":29,"value":524},{"type":23,"tag":362,"props":5833,"children":5834},{"style":375},[5835],{"type":29,"value":601},{"type":23,"tag":362,"props":5837,"children":5838},{"style":375},[5839],{"type":29,"value":606},{"type":23,"tag":362,"props":5841,"children":5842},{"style":369},[5843],{"type":29,"value":611},{"type":23,"tag":362,"props":5845,"children":5846},{"style":375},[5847],{"type":29,"value":616},{"type":23,"tag":362,"props":5849,"children":5850},{"style":375},[5851],{"type":29,"value":621},{"type":23,"tag":362,"props":5853,"children":5854},{"style":369},[5855],{"type":29,"value":570},{"type":23,"tag":362,"props":5857,"children":5858},{"class":364,"line":447},[5859,5863,5867,5871,5875,5879,5883,5887,5891,5895,5899],{"type":23,"tag":362,"props":5860,"children":5861},{"style":369},[5862],{"type":29,"value":634},{"type":23,"tag":362,"props":5864,"children":5865},{"style":375},[5866],{"type":29,"value":548},{"type":23,"tag":362,"props":5868,"children":5869},{"style":369},[5870],{"type":29,"value":514},{"type":23,"tag":362,"props":5872,"children":5873},{"style":477},[5874],{"type":29,"value":592},{"type":23,"tag":362,"props":5876,"children":5877},{"style":369},[5878],{"type":29,"value":524},{"type":23,"tag":362,"props":5880,"children":5881},{"style":375},[5882],{"type":29,"value":601},{"type":23,"tag":362,"props":5884,"children":5885},{"style":375},[5886],{"type":29,"value":606},{"type":23,"tag":362,"props":5888,"children":5889},{"style":369},[5890],{"type":29,"value":611},{"type":23,"tag":362,"props":5892,"children":5893},{"style":375},[5894],{"type":29,"value":616},{"type":23,"tag":362,"props":5896,"children":5897},{"style":375},[5898],{"type":29,"value":621},{"type":23,"tag":362,"props":5900,"children":5901},{"style":369},[5902],{"type":29,"value":570},{"type":23,"tag":362,"props":5904,"children":5905},{"class":364,"line":498},[5906,5910,5914,5918,5922],{"type":23,"tag":362,"props":5907,"children":5908},{"style":369},[5909],{"type":29,"value":683},{"type":23,"tag":362,"props":5911,"children":5912},{"style":375},[5913],{"type":29,"value":548},{"type":23,"tag":362,"props":5915,"children":5916},{"style":369},[5917],{"type":29,"value":514},{"type":23,"tag":362,"props":5919,"children":5920},{"style":477},[5921],{"type":29,"value":592},{"type":23,"tag":362,"props":5923,"children":5924},{"style":369},[5925],{"type":29,"value":700},{"type":23,"tag":362,"props":5927,"children":5928},{"class":364,"line":537},[5929,5933,5937,5941,5945],{"type":23,"tag":362,"props":5930,"children":5931},{"style":369},[5932],{"type":29,"value":709},{"type":23,"tag":362,"props":5934,"children":5935},{"style":375},[5936],{"type":29,"value":548},{"type":23,"tag":362,"props":5938,"children":5939},{"style":369},[5940],{"type":29,"value":514},{"type":23,"tag":362,"props":5942,"children":5943},{"style":477},[5944],{"type":29,"value":592},{"type":23,"tag":362,"props":5946,"children":5947},{"style":369},[5948],{"type":29,"value":700},{"type":23,"tag":362,"props":5950,"children":5951},{"class":364,"line":573},[5952,5956,5960,5964,5968],{"type":23,"tag":362,"props":5953,"children":5954},{"style":369},[5955],{"type":29,"value":734},{"type":23,"tag":362,"props":5957,"children":5958},{"style":375},[5959],{"type":29,"value":548},{"type":23,"tag":362,"props":5961,"children":5962},{"style":369},[5963],{"type":29,"value":514},{"type":23,"tag":362,"props":5965,"children":5966},{"style":477},[5967],{"type":29,"value":592},{"type":23,"tag":362,"props":5969,"children":5970},{"style":369},[5971],{"type":29,"value":700},{"type":23,"tag":362,"props":5973,"children":5974},{"class":364,"line":628},[5975,5979,5983,5987,5991],{"type":23,"tag":362,"props":5976,"children":5977},{"style":369},[5978],{"type":29,"value":759},{"type":23,"tag":362,"props":5980,"children":5981},{"style":375},[5982],{"type":29,"value":548},{"type":23,"tag":362,"props":5984,"children":5985},{"style":369},[5986],{"type":29,"value":514},{"type":23,"tag":362,"props":5988,"children":5989},{"style":477},[5990],{"type":29,"value":592},{"type":23,"tag":362,"props":5992,"children":5993},{"style":369},[5994],{"type":29,"value":700},{"type":23,"tag":362,"props":5996,"children":5997},{"class":364,"line":677},[5998,6002,6006,6010,6014],{"type":23,"tag":362,"props":5999,"children":6000},{"style":375},[6001],{"type":29,"value":784},{"type":23,"tag":362,"props":6003,"children":6004},{"style":375},[6005],{"type":29,"value":789},{"type":23,"tag":362,"props":6007,"children":6008},{"style":369},[6009],{"type":29,"value":514},{"type":23,"tag":362,"props":6011,"children":6012},{"style":477},[6013],{"type":29,"value":592},{"type":23,"tag":362,"props":6015,"children":6016},{"style":369},[6017],{"type":29,"value":700},{"type":23,"tag":362,"props":6019,"children":6020},{"class":364,"line":703},[6021,6025,6029,6033,6037],{"type":23,"tag":362,"props":6022,"children":6023},{"style":369},[6024],{"type":29,"value":3723},{"type":23,"tag":362,"props":6026,"children":6027},{"style":375},[6028],{"type":29,"value":3728},{"type":23,"tag":362,"props":6030,"children":6031},{"style":375},[6032],{"type":29,"value":3733},{"type":23,"tag":362,"props":6034,"children":6035},{"style":375},[6036],{"type":29,"value":3738},{"type":23,"tag":362,"props":6038,"children":6039},{"style":369},[6040],{"type":29,"value":3743},{"type":23,"tag":362,"props":6042,"children":6043},{"class":364,"line":728},[6044,6048],{"type":23,"tag":362,"props":6045,"children":6046},{"style":375},[6047],{"type":29,"value":810},{"type":23,"tag":362,"props":6049,"children":6050},{"style":369},[6051],{"type":29,"value":815},{"type":23,"tag":362,"props":6053,"children":6054},{"class":364,"line":753},[6055,6059,6063,6067,6071,6075,6079],{"type":23,"tag":362,"props":6056,"children":6057},{"style":369},[6058],{"type":29,"value":824},{"type":23,"tag":362,"props":6060,"children":6061},{"style":375},[6062],{"type":29,"value":829},{"type":23,"tag":362,"props":6064,"children":6065},{"style":369},[6066],{"type":29,"value":834},{"type":23,"tag":362,"props":6068,"children":6069},{"style":375},[6070],{"type":29,"value":616},{"type":23,"tag":362,"props":6072,"children":6073},{"style":369},[6074],{"type":29,"value":843},{"type":23,"tag":362,"props":6076,"children":6077},{"style":375},[6078],{"type":29,"value":829},{"type":23,"tag":362,"props":6080,"children":6081},{"style":369},[6082],{"type":29,"value":852},{"type":23,"tag":342,"props":6084,"children":6085},{"start":417},[6086],{"type":23,"tag":346,"props":6087,"children":6088},{},[6089,6090,6095,6096],{"type":29,"value":1264},{"type":23,"tag":58,"props":6091,"children":6093},{"className":6092},[],[6094],{"type":29,"value":1270},{"type":29,"value":1272},{"type":23,"tag":58,"props":6097,"children":6099},{"className":6098},[],[6100],{"type":29,"value":6101},"source-incrementing-timestamp-mysql.properties",{"type":23,"tag":352,"props":6103,"children":6105},{"className":1283,"code":6104,"language":1285,"meta":7,"style":7},"name=mysql-a-source-omneo_incrementing\nconnector.class=io.confluent.connect.jdbc.JdbcSourceConnector\ntasks.max=1\nconnection.url=jdbc:mysql:\u002F\u002F172.21.23.238:3306\u002Ftest_kafka_connector?user=root&password=1qaz@WSX\n# incrementing  自增\nmode=timestamp+incrementing\n# 时间戳字段\ntimestamp.column.name=commenttime\n# 自增字段  pid\nincrementing.column.name=pid\n# 白名单表  person\ntable.whitelist=omneo_incrementing_timestamp\n# topic前缀   mysql-kafka-\ntopic.prefix=mysql-kafka-\n",[6106],{"type":23,"tag":58,"props":6107,"children":6108},{"__ignoreMap":7},[6109,6125,6136,6147,6170,6177,6193,6201,6212,6219,6230,6237,6249,6256],{"type":23,"tag":362,"props":6110,"children":6111},{"class":364,"line":365},[6112,6116,6120],{"type":23,"tag":362,"props":6113,"children":6114},{"style":369},[6115],{"type":29,"value":1297},{"type":23,"tag":362,"props":6117,"children":6118},{"style":375},[6119],{"type":29,"value":829},{"type":23,"tag":362,"props":6121,"children":6122},{"style":436},[6123],{"type":29,"value":6124},"mysql-a-source-omneo_incrementing\n",{"type":23,"tag":362,"props":6126,"children":6127},{"class":364,"line":396},[6128,6132],{"type":23,"tag":362,"props":6129,"children":6130},{"style":461},[6131],{"type":29,"value":1314},{"type":23,"tag":362,"props":6133,"children":6134},{"style":436},[6135],{"type":29,"value":1319},{"type":23,"tag":362,"props":6137,"children":6138},{"class":364,"line":417},[6139,6143],{"type":23,"tag":362,"props":6140,"children":6141},{"style":461},[6142],{"type":29,"value":1327},{"type":23,"tag":362,"props":6144,"children":6145},{"style":436},[6146],{"type":29,"value":1332},{"type":23,"tag":362,"props":6148,"children":6149},{"class":364,"line":427},[6150,6154,6158,6162,6166],{"type":23,"tag":362,"props":6151,"children":6152},{"style":461},[6153],{"type":29,"value":1340},{"type":23,"tag":362,"props":6155,"children":6156},{"style":436},[6157],{"type":29,"value":1345},{"type":23,"tag":362,"props":6159,"children":6160},{"style":369},[6161],{"type":29,"value":1350},{"type":23,"tag":362,"props":6163,"children":6164},{"style":375},[6165],{"type":29,"value":829},{"type":23,"tag":362,"props":6167,"children":6168},{"style":436},[6169],{"type":29,"value":1359},{"type":23,"tag":362,"props":6171,"children":6172},{"class":364,"line":447},[6173],{"type":23,"tag":362,"props":6174,"children":6175},{"style":1365},[6176],{"type":29,"value":1368},{"type":23,"tag":362,"props":6178,"children":6179},{"class":364,"line":498},[6180,6184,6188],{"type":23,"tag":362,"props":6181,"children":6182},{"style":369},[6183],{"type":29,"value":1376},{"type":23,"tag":362,"props":6185,"children":6186},{"style":375},[6187],{"type":29,"value":829},{"type":23,"tag":362,"props":6189,"children":6190},{"style":436},[6191],{"type":29,"value":6192},"timestamp+incrementing\n",{"type":23,"tag":362,"props":6194,"children":6195},{"class":364,"line":537},[6196],{"type":23,"tag":362,"props":6197,"children":6198},{"style":1365},[6199],{"type":29,"value":6200},"# 时间戳字段\n",{"type":23,"tag":362,"props":6202,"children":6203},{"class":364,"line":573},[6204,6208],{"type":23,"tag":362,"props":6205,"children":6206},{"style":461},[6207],{"type":29,"value":4320},{"type":23,"tag":362,"props":6209,"children":6210},{"style":436},[6211],{"type":29,"value":4325},{"type":23,"tag":362,"props":6213,"children":6214},{"class":364,"line":628},[6215],{"type":23,"tag":362,"props":6216,"children":6217},{"style":1365},[6218],{"type":29,"value":1393},{"type":23,"tag":362,"props":6220,"children":6221},{"class":364,"line":677},[6222,6226],{"type":23,"tag":362,"props":6223,"children":6224},{"style":461},[6225],{"type":29,"value":1401},{"type":23,"tag":362,"props":6227,"children":6228},{"style":436},[6229],{"type":29,"value":1406},{"type":23,"tag":362,"props":6231,"children":6232},{"class":364,"line":703},[6233],{"type":23,"tag":362,"props":6234,"children":6235},{"style":1365},[6236],{"type":29,"value":1414},{"type":23,"tag":362,"props":6238,"children":6239},{"class":364,"line":728},[6240,6244],{"type":23,"tag":362,"props":6241,"children":6242},{"style":461},[6243],{"type":29,"value":1422},{"type":23,"tag":362,"props":6245,"children":6246},{"style":436},[6247],{"type":29,"value":6248},"=omneo_incrementing_timestamp\n",{"type":23,"tag":362,"props":6250,"children":6251},{"class":364,"line":753},[6252],{"type":23,"tag":362,"props":6253,"children":6254},{"style":1365},[6255],{"type":29,"value":1435},{"type":23,"tag":362,"props":6257,"children":6258},{"class":364,"line":778},[6259,6263],{"type":23,"tag":362,"props":6260,"children":6261},{"style":461},[6262],{"type":29,"value":1443},{"type":23,"tag":362,"props":6264,"children":6265},{"style":436},[6266],{"type":29,"value":1448},{"type":23,"tag":342,"props":6268,"children":6269},{"start":427},[6270],{"type":23,"tag":346,"props":6271,"children":6272},{},[6273,6274],{"type":29,"value":1456},{"type":23,"tag":58,"props":6275,"children":6277},{"className":6276},[],[6278],{"type":29,"value":6279},"sink-incrementing-timestamp-mysql.properties",{"type":23,"tag":352,"props":6281,"children":6283},{"className":1283,"code":6282,"language":1285,"meta":7,"style":7},"name=mysql-a-sink-omneo\nconnector.class=io.confluent.connect.jdbc.JdbcSinkConnector\ntasks.max=1\n#kafka的topic名称\ntopics=mysql-kafka-omneo_incrementing_timestamp\n# 配置JDBC链接\nconnection.url=jdbc:mysql:\u002F\u002F172.21.23.238:3306\u002Fkafka_connector?user=root&password=1qaz@WSX\n# 不自动创建表，如果为true，会自动创建表，表名为topic名称\nauto.create=false\n# upsert model更新和插入\ninsert.mode=upsert\n# 下面两个参数配置了以pid为主键更新\npk.mode = record_value\npk.fields = pid\n#表名为kafka_omneo_incrementing_timestamp\ntable.name.format=kafka_omneo_incrementing_timestamp\n",[6284],{"type":23,"tag":58,"props":6285,"children":6286},{"__ignoreMap":7},[6287,6302,6313,6324,6331,6347,6354,6377,6384,6399,6406,6417,6424,6439,6454,6462],{"type":23,"tag":362,"props":6288,"children":6289},{"class":364,"line":365},[6290,6294,6298],{"type":23,"tag":362,"props":6291,"children":6292},{"style":369},[6293],{"type":29,"value":1297},{"type":23,"tag":362,"props":6295,"children":6296},{"style":375},[6297],{"type":29,"value":829},{"type":23,"tag":362,"props":6299,"children":6300},{"style":436},[6301],{"type":29,"value":1486},{"type":23,"tag":362,"props":6303,"children":6304},{"class":364,"line":396},[6305,6309],{"type":23,"tag":362,"props":6306,"children":6307},{"style":461},[6308],{"type":29,"value":1314},{"type":23,"tag":362,"props":6310,"children":6311},{"style":436},[6312],{"type":29,"value":1498},{"type":23,"tag":362,"props":6314,"children":6315},{"class":364,"line":417},[6316,6320],{"type":23,"tag":362,"props":6317,"children":6318},{"style":461},[6319],{"type":29,"value":1327},{"type":23,"tag":362,"props":6321,"children":6322},{"style":436},[6323],{"type":29,"value":1332},{"type":23,"tag":362,"props":6325,"children":6326},{"class":364,"line":427},[6327],{"type":23,"tag":362,"props":6328,"children":6329},{"style":1365},[6330],{"type":29,"value":1517},{"type":23,"tag":362,"props":6332,"children":6333},{"class":364,"line":447},[6334,6338,6342],{"type":23,"tag":362,"props":6335,"children":6336},{"style":369},[6337],{"type":29,"value":1525},{"type":23,"tag":362,"props":6339,"children":6340},{"style":375},[6341],{"type":29,"value":829},{"type":23,"tag":362,"props":6343,"children":6344},{"style":436},[6345],{"type":29,"value":6346},"mysql-kafka-omneo_incrementing_timestamp\n",{"type":23,"tag":362,"props":6348,"children":6349},{"class":364,"line":498},[6350],{"type":23,"tag":362,"props":6351,"children":6352},{"style":1365},[6353],{"type":29,"value":1542},{"type":23,"tag":362,"props":6355,"children":6356},{"class":364,"line":537},[6357,6361,6365,6369,6373],{"type":23,"tag":362,"props":6358,"children":6359},{"style":461},[6360],{"type":29,"value":1340},{"type":23,"tag":362,"props":6362,"children":6363},{"style":436},[6364],{"type":29,"value":1554},{"type":23,"tag":362,"props":6366,"children":6367},{"style":369},[6368],{"type":29,"value":1350},{"type":23,"tag":362,"props":6370,"children":6371},{"style":375},[6372],{"type":29,"value":829},{"type":23,"tag":362,"props":6374,"children":6375},{"style":436},[6376],{"type":29,"value":1359},{"type":23,"tag":362,"props":6378,"children":6379},{"class":364,"line":573},[6380],{"type":23,"tag":362,"props":6381,"children":6382},{"style":1365},[6383],{"type":29,"value":1574},{"type":23,"tag":362,"props":6385,"children":6386},{"class":364,"line":628},[6387,6391,6395],{"type":23,"tag":362,"props":6388,"children":6389},{"style":461},[6390],{"type":29,"value":1582},{"type":23,"tag":362,"props":6392,"children":6393},{"style":436},[6394],{"type":29,"value":829},{"type":23,"tag":362,"props":6396,"children":6397},{"style":477},[6398],{"type":29,"value":1591},{"type":23,"tag":362,"props":6400,"children":6401},{"class":364,"line":677},[6402],{"type":23,"tag":362,"props":6403,"children":6404},{"style":1365},[6405],{"type":29,"value":1599},{"type":23,"tag":362,"props":6407,"children":6408},{"class":364,"line":703},[6409,6413],{"type":23,"tag":362,"props":6410,"children":6411},{"style":461},[6412],{"type":29,"value":1607},{"type":23,"tag":362,"props":6414,"children":6415},{"style":436},[6416],{"type":29,"value":1612},{"type":23,"tag":362,"props":6418,"children":6419},{"class":364,"line":728},[6420],{"type":23,"tag":362,"props":6421,"children":6422},{"style":1365},[6423],{"type":29,"value":1620},{"type":23,"tag":362,"props":6425,"children":6426},{"class":364,"line":753},[6427,6431,6435],{"type":23,"tag":362,"props":6428,"children":6429},{"style":461},[6430],{"type":29,"value":1628},{"type":23,"tag":362,"props":6432,"children":6433},{"style":436},[6434],{"type":29,"value":1633},{"type":23,"tag":362,"props":6436,"children":6437},{"style":436},[6438],{"type":29,"value":1638},{"type":23,"tag":362,"props":6440,"children":6441},{"class":364,"line":778},[6442,6446,6450],{"type":23,"tag":362,"props":6443,"children":6444},{"style":461},[6445],{"type":29,"value":1646},{"type":23,"tag":362,"props":6447,"children":6448},{"style":436},[6449],{"type":29,"value":1633},{"type":23,"tag":362,"props":6451,"children":6452},{"style":436},[6453],{"type":29,"value":1655},{"type":23,"tag":362,"props":6455,"children":6456},{"class":364,"line":804},[6457],{"type":23,"tag":362,"props":6458,"children":6459},{"style":1365},[6460],{"type":29,"value":6461},"#表名为kafka_omneo_incrementing_timestamp\n",{"type":23,"tag":362,"props":6463,"children":6464},{"class":364,"line":818},[6465,6469],{"type":23,"tag":362,"props":6466,"children":6467},{"style":461},[6468],{"type":29,"value":1671},{"type":23,"tag":362,"props":6470,"children":6471},{"style":436},[6472],{"type":29,"value":6473},"=kafka_omneo_incrementing_timestamp\n",{"type":23,"tag":342,"props":6475,"children":6476},{"start":447},[6477],{"type":23,"tag":346,"props":6478,"children":6479},{},[6480,6481,6485,6486,6492],{"type":29,"value":1684},{"type":23,"tag":67,"props":6482,"children":6483},{},[6484],{"type":29,"value":1689},{"type":29,"value":1691},{"type":23,"tag":58,"props":6487,"children":6489},{"className":6488},[],[6490],{"type":29,"value":6491},"mysql-kafka-omneo-incrementing-timestamp",{"type":29,"value":1699},{"type":23,"tag":352,"props":6494,"children":6496},{"className":1283,"code":6495,"language":1285,"meta":7,"style":7},"kafka-topics.sh --create --zookeeper master:2181 --replication-factor 1 --partitions 1 --topic mysql-kafka-omneo_incrementing_timestamp\n",[6497],{"type":23,"tag":58,"props":6498,"children":6499},{"__ignoreMap":7},[6500],{"type":23,"tag":362,"props":6501,"children":6502},{"class":364,"line":365},[6503,6507,6511,6515,6519,6523,6527,6531,6535,6539],{"type":23,"tag":362,"props":6504,"children":6505},{"style":461},[6506],{"type":29,"value":1714},{"type":23,"tag":362,"props":6508,"children":6509},{"style":477},[6510],{"type":29,"value":1719},{"type":23,"tag":362,"props":6512,"children":6513},{"style":477},[6514],{"type":29,"value":1724},{"type":23,"tag":362,"props":6516,"children":6517},{"style":436},[6518],{"type":29,"value":1729},{"type":23,"tag":362,"props":6520,"children":6521},{"style":477},[6522],{"type":29,"value":1734},{"type":23,"tag":362,"props":6524,"children":6525},{"style":477},[6526],{"type":29,"value":1739},{"type":23,"tag":362,"props":6528,"children":6529},{"style":477},[6530],{"type":29,"value":1744},{"type":23,"tag":362,"props":6532,"children":6533},{"style":477},[6534],{"type":29,"value":1739},{"type":23,"tag":362,"props":6536,"children":6537},{"style":477},[6538],{"type":29,"value":1753},{"type":23,"tag":362,"props":6540,"children":6541},{"style":436},[6542],{"type":29,"value":6543}," mysql-kafka-omneo_incrementing_timestamp\n",{"type":23,"tag":342,"props":6545,"children":6546},{"start":498},[6547],{"type":23,"tag":346,"props":6548,"children":6549},{},[6550,6551,6556],{"type":29,"value":1766},{"type":23,"tag":58,"props":6552,"children":6554},{"className":6553},[],[6555],{"type":29,"value":1772},{"type":29,"value":1699},{"type":23,"tag":352,"props":6558,"children":6560},{"className":1283,"code":6559,"language":1285,"meta":7,"style":7},"connect-standalone.sh $KAFKA_HOME\u002Fconfig\u002Fconnect-standalone.properties $KAFKA_HOME\u002Fconfig\u002Fsource-incrementing-timestamp-mysql.properties $KAFKA_HOME\u002Fconfig\u002Fsink-incrementing-timestamp-mysql.properties\n",[6561],{"type":23,"tag":58,"props":6562,"children":6563},{"__ignoreMap":7},[6564],{"type":23,"tag":362,"props":6565,"children":6566},{"class":364,"line":365},[6567,6571,6575,6579,6583,6588,6592],{"type":23,"tag":362,"props":6568,"children":6569},{"style":461},[6570],{"type":29,"value":1788},{"type":23,"tag":362,"props":6572,"children":6573},{"style":369},[6574],{"type":29,"value":1793},{"type":23,"tag":362,"props":6576,"children":6577},{"style":436},[6578],{"type":29,"value":1798},{"type":23,"tag":362,"props":6580,"children":6581},{"style":369},[6582],{"type":29,"value":1793},{"type":23,"tag":362,"props":6584,"children":6585},{"style":436},[6586],{"type":29,"value":6587},"\u002Fconfig\u002Fsource-incrementing-timestamp-mysql.properties",{"type":23,"tag":362,"props":6589,"children":6590},{"style":369},[6591],{"type":29,"value":1793},{"type":23,"tag":362,"props":6593,"children":6594},{"style":436},[6595],{"type":29,"value":6596},"\u002Fconfig\u002Fsink-incrementing-timestamp-mysql.properties\n",{"type":23,"tag":342,"props":6598,"children":6599},{"start":537},[6600],{"type":23,"tag":346,"props":6601,"children":6602},{},[6603,6604,6610],{"type":29,"value":1837},{"type":23,"tag":58,"props":6605,"children":6607},{"className":6606},[],[6608],{"type":29,"value":6609},"test_kafka_connector.omneo_incrementing_timestamp",{"type":29,"value":4707},{"type":23,"tag":352,"props":6612,"children":6614},{"className":354,"code":6613,"language":356,"meta":7,"style":7},"insert into omneo_incrementing_timestamp values(1,\"0049683542a7-5bdb-d564-3133-276ae3ce\",\"Maurice\",\"Samuel\",\"01\u002F11\u002F1977\",\"H2M2V5\",\"Ballancourt\",\"male\",\"en couple\",\"2020-05-09 11:01:54\");\ninsert into omneo_incrementing_timestamp values(2,\"8338623542a7-5bdb-d564-3133-276ae3ce\",\"Gauthier\",\"Garbuet\",\"23\u002F05\u002F1965\",\"05274\",\"Cocagne\",\"female\",\"maried\",\"2020-05-09 11:01:54\");\ninsert into omneo_incrementing_timestamp values(3,\"3374573542a7-5bdb-d564-3133-276ae3ce\",\"Maurice\",\"Samuel\",\"01\u002F11\u002F1977\",\"H0H0H0\",\"Ottawa\",\"male\",\"en couple\",\"2020-05-09 11:01:54\");\ninsert into omneo_incrementing_timestamp values(4,\"5494133542a7-5bdb-d564-3133-276ae3ce\",\"Nicole\",\"Garbuet\",\"01\u002F11\u002F1977\",\"H0H0H0\",\"Maugio\",\"unknown\",\"single\",\"2020-05-09 11:01:54\");\n",[6615],{"type":23,"tag":58,"props":6616,"children":6617},{"__ignoreMap":7},[6618,6727,6834,6936],{"type":23,"tag":362,"props":6619,"children":6620},{"class":364,"line":365},[6621,6625,6630,6634,6638,6642,6646,6651,6655,6660,6664,6669,6673,6678,6682,6687,6691,6696,6700,6705,6709,6714,6718,6723],{"type":23,"tag":362,"props":6622,"children":6623},{"style":375},[6624],{"type":29,"value":1860},{"type":23,"tag":362,"props":6626,"children":6627},{"style":369},[6628],{"type":29,"value":6629}," omneo_incrementing_timestamp ",{"type":23,"tag":362,"props":6631,"children":6632},{"style":375},[6633],{"type":29,"value":1879},{"type":23,"tag":362,"props":6635,"children":6636},{"style":369},[6637],{"type":29,"value":514},{"type":23,"tag":362,"props":6639,"children":6640},{"style":477},[6641],{"type":29,"value":1888},{"type":23,"tag":362,"props":6643,"children":6644},{"style":369},[6645],{"type":29,"value":1893},{"type":23,"tag":362,"props":6647,"children":6648},{"style":436},[6649],{"type":29,"value":6650},"\"0049683542a7-5bdb-d564-3133-276ae3ce\"",{"type":23,"tag":362,"props":6652,"children":6653},{"style":369},[6654],{"type":29,"value":1893},{"type":23,"tag":362,"props":6656,"children":6657},{"style":436},[6658],{"type":29,"value":6659},"\"Maurice\"",{"type":23,"tag":362,"props":6661,"children":6662},{"style":369},[6663],{"type":29,"value":1893},{"type":23,"tag":362,"props":6665,"children":6666},{"style":436},[6667],{"type":29,"value":6668},"\"Samuel\"",{"type":23,"tag":362,"props":6670,"children":6671},{"style":369},[6672],{"type":29,"value":1893},{"type":23,"tag":362,"props":6674,"children":6675},{"style":436},[6676],{"type":29,"value":6677},"\"01\u002F11\u002F1977\"",{"type":23,"tag":362,"props":6679,"children":6680},{"style":369},[6681],{"type":29,"value":1893},{"type":23,"tag":362,"props":6683,"children":6684},{"style":436},[6685],{"type":29,"value":6686},"\"H2M2V5\"",{"type":23,"tag":362,"props":6688,"children":6689},{"style":369},[6690],{"type":29,"value":1893},{"type":23,"tag":362,"props":6692,"children":6693},{"style":436},[6694],{"type":29,"value":6695},"\"Ballancourt\"",{"type":23,"tag":362,"props":6697,"children":6698},{"style":369},[6699],{"type":29,"value":1893},{"type":23,"tag":362,"props":6701,"children":6702},{"style":436},[6703],{"type":29,"value":6704},"\"male\"",{"type":23,"tag":362,"props":6706,"children":6707},{"style":369},[6708],{"type":29,"value":1893},{"type":23,"tag":362,"props":6710,"children":6711},{"style":436},[6712],{"type":29,"value":6713},"\"en couple\"",{"type":23,"tag":362,"props":6715,"children":6716},{"style":369},[6717],{"type":29,"value":1893},{"type":23,"tag":362,"props":6719,"children":6720},{"style":436},[6721],{"type":29,"value":6722},"\"2020-05-09 11:01:54\"",{"type":23,"tag":362,"props":6724,"children":6725},{"style":369},[6726],{"type":29,"value":1966},{"type":23,"tag":362,"props":6728,"children":6729},{"class":364,"line":396},[6730,6734,6738,6742,6746,6750,6754,6759,6763,6768,6772,6777,6781,6786,6790,6795,6799,6804,6808,6813,6817,6822,6826,6830],{"type":23,"tag":362,"props":6731,"children":6732},{"style":375},[6733],{"type":29,"value":1860},{"type":23,"tag":362,"props":6735,"children":6736},{"style":369},[6737],{"type":29,"value":6629},{"type":23,"tag":362,"props":6739,"children":6740},{"style":375},[6741],{"type":29,"value":1879},{"type":23,"tag":362,"props":6743,"children":6744},{"style":369},[6745],{"type":29,"value":514},{"type":23,"tag":362,"props":6747,"children":6748},{"style":477},[6749],{"type":29,"value":1998},{"type":23,"tag":362,"props":6751,"children":6752},{"style":369},[6753],{"type":29,"value":1893},{"type":23,"tag":362,"props":6755,"children":6756},{"style":436},[6757],{"type":29,"value":6758},"\"8338623542a7-5bdb-d564-3133-276ae3ce\"",{"type":23,"tag":362,"props":6760,"children":6761},{"style":369},[6762],{"type":29,"value":1893},{"type":23,"tag":362,"props":6764,"children":6765},{"style":436},[6766],{"type":29,"value":6767},"\"Gauthier\"",{"type":23,"tag":362,"props":6769,"children":6770},{"style":369},[6771],{"type":29,"value":1893},{"type":23,"tag":362,"props":6773,"children":6774},{"style":436},[6775],{"type":29,"value":6776},"\"Garbuet\"",{"type":23,"tag":362,"props":6778,"children":6779},{"style":369},[6780],{"type":29,"value":1893},{"type":23,"tag":362,"props":6782,"children":6783},{"style":436},[6784],{"type":29,"value":6785},"\"23\u002F05\u002F1965\"",{"type":23,"tag":362,"props":6787,"children":6788},{"style":369},[6789],{"type":29,"value":1893},{"type":23,"tag":362,"props":6791,"children":6792},{"style":436},[6793],{"type":29,"value":6794},"\"05274\"",{"type":23,"tag":362,"props":6796,"children":6797},{"style":369},[6798],{"type":29,"value":1893},{"type":23,"tag":362,"props":6800,"children":6801},{"style":436},[6802],{"type":29,"value":6803},"\"Cocagne\"",{"type":23,"tag":362,"props":6805,"children":6806},{"style":369},[6807],{"type":29,"value":1893},{"type":23,"tag":362,"props":6809,"children":6810},{"style":436},[6811],{"type":29,"value":6812},"\"female\"",{"type":23,"tag":362,"props":6814,"children":6815},{"style":369},[6816],{"type":29,"value":1893},{"type":23,"tag":362,"props":6818,"children":6819},{"style":436},[6820],{"type":29,"value":6821},"\"maried\"",{"type":23,"tag":362,"props":6823,"children":6824},{"style":369},[6825],{"type":29,"value":1893},{"type":23,"tag":362,"props":6827,"children":6828},{"style":436},[6829],{"type":29,"value":6722},{"type":23,"tag":362,"props":6831,"children":6832},{"style":369},[6833],{"type":29,"value":1966},{"type":23,"tag":362,"props":6835,"children":6836},{"class":364,"line":417},[6837,6841,6845,6849,6853,6857,6861,6866,6870,6874,6878,6882,6886,6890,6894,6899,6903,6908,6912,6916,6920,6924,6928,6932],{"type":23,"tag":362,"props":6838,"children":6839},{"style":375},[6840],{"type":29,"value":1860},{"type":23,"tag":362,"props":6842,"children":6843},{"style":369},[6844],{"type":29,"value":6629},{"type":23,"tag":362,"props":6846,"children":6847},{"style":375},[6848],{"type":29,"value":1879},{"type":23,"tag":362,"props":6850,"children":6851},{"style":369},[6852],{"type":29,"value":514},{"type":23,"tag":362,"props":6854,"children":6855},{"style":477},[6856],{"type":29,"value":2106},{"type":23,"tag":362,"props":6858,"children":6859},{"style":369},[6860],{"type":29,"value":1893},{"type":23,"tag":362,"props":6862,"children":6863},{"style":436},[6864],{"type":29,"value":6865},"\"3374573542a7-5bdb-d564-3133-276ae3ce\"",{"type":23,"tag":362,"props":6867,"children":6868},{"style":369},[6869],{"type":29,"value":1893},{"type":23,"tag":362,"props":6871,"children":6872},{"style":436},[6873],{"type":29,"value":6659},{"type":23,"tag":362,"props":6875,"children":6876},{"style":369},[6877],{"type":29,"value":1893},{"type":23,"tag":362,"props":6879,"children":6880},{"style":436},[6881],{"type":29,"value":6668},{"type":23,"tag":362,"props":6883,"children":6884},{"style":369},[6885],{"type":29,"value":1893},{"type":23,"tag":362,"props":6887,"children":6888},{"style":436},[6889],{"type":29,"value":6677},{"type":23,"tag":362,"props":6891,"children":6892},{"style":369},[6893],{"type":29,"value":1893},{"type":23,"tag":362,"props":6895,"children":6896},{"style":436},[6897],{"type":29,"value":6898},"\"H0H0H0\"",{"type":23,"tag":362,"props":6900,"children":6901},{"style":369},[6902],{"type":29,"value":1893},{"type":23,"tag":362,"props":6904,"children":6905},{"style":436},[6906],{"type":29,"value":6907},"\"Ottawa\"",{"type":23,"tag":362,"props":6909,"children":6910},{"style":369},[6911],{"type":29,"value":1893},{"type":23,"tag":362,"props":6913,"children":6914},{"style":436},[6915],{"type":29,"value":6704},{"type":23,"tag":362,"props":6917,"children":6918},{"style":369},[6919],{"type":29,"value":1893},{"type":23,"tag":362,"props":6921,"children":6922},{"style":436},[6923],{"type":29,"value":6713},{"type":23,"tag":362,"props":6925,"children":6926},{"style":369},[6927],{"type":29,"value":1893},{"type":23,"tag":362,"props":6929,"children":6930},{"style":436},[6931],{"type":29,"value":6722},{"type":23,"tag":362,"props":6933,"children":6934},{"style":369},[6935],{"type":29,"value":1966},{"type":23,"tag":362,"props":6937,"children":6938},{"class":364,"line":427},[6939,6943,6947,6951,6955,6959,6963,6968,6972,6977,6981,6985,6989,6993,6997,7001,7005,7010,7014,7019,7023,7028,7032,7036],{"type":23,"tag":362,"props":6940,"children":6941},{"style":375},[6942],{"type":29,"value":1860},{"type":23,"tag":362,"props":6944,"children":6945},{"style":369},[6946],{"type":29,"value":6629},{"type":23,"tag":362,"props":6948,"children":6949},{"style":375},[6950],{"type":29,"value":1879},{"type":23,"tag":362,"props":6952,"children":6953},{"style":369},[6954],{"type":29,"value":514},{"type":23,"tag":362,"props":6956,"children":6957},{"style":477},[6958],{"type":29,"value":2212},{"type":23,"tag":362,"props":6960,"children":6961},{"style":369},[6962],{"type":29,"value":1893},{"type":23,"tag":362,"props":6964,"children":6965},{"style":436},[6966],{"type":29,"value":6967},"\"5494133542a7-5bdb-d564-3133-276ae3ce\"",{"type":23,"tag":362,"props":6969,"children":6970},{"style":369},[6971],{"type":29,"value":1893},{"type":23,"tag":362,"props":6973,"children":6974},{"style":436},[6975],{"type":29,"value":6976},"\"Nicole\"",{"type":23,"tag":362,"props":6978,"children":6979},{"style":369},[6980],{"type":29,"value":1893},{"type":23,"tag":362,"props":6982,"children":6983},{"style":436},[6984],{"type":29,"value":6776},{"type":23,"tag":362,"props":6986,"children":6987},{"style":369},[6988],{"type":29,"value":1893},{"type":23,"tag":362,"props":6990,"children":6991},{"style":436},[6992],{"type":29,"value":6677},{"type":23,"tag":362,"props":6994,"children":6995},{"style":369},[6996],{"type":29,"value":1893},{"type":23,"tag":362,"props":6998,"children":6999},{"style":436},[7000],{"type":29,"value":6898},{"type":23,"tag":362,"props":7002,"children":7003},{"style":369},[7004],{"type":29,"value":1893},{"type":23,"tag":362,"props":7006,"children":7007},{"style":436},[7008],{"type":29,"value":7009},"\"Maugio\"",{"type":23,"tag":362,"props":7011,"children":7012},{"style":369},[7013],{"type":29,"value":1893},{"type":23,"tag":362,"props":7015,"children":7016},{"style":436},[7017],{"type":29,"value":7018},"\"unknown\"",{"type":23,"tag":362,"props":7020,"children":7021},{"style":369},[7022],{"type":29,"value":1893},{"type":23,"tag":362,"props":7024,"children":7025},{"style":436},[7026],{"type":29,"value":7027},"\"single\"",{"type":23,"tag":362,"props":7029,"children":7030},{"style":369},[7031],{"type":29,"value":1893},{"type":23,"tag":362,"props":7033,"children":7034},{"style":436},[7035],{"type":29,"value":6722},{"type":23,"tag":362,"props":7037,"children":7038},{"style":369},[7039],{"type":29,"value":1966},{"type":23,"tag":342,"props":7041,"children":7042},{"start":573},[7043],{"type":23,"tag":346,"props":7044,"children":7045},{},[7046,7047,7053],{"type":29,"value":2916},{"type":23,"tag":58,"props":7048,"children":7050},{"className":7049},[],[7051],{"type":29,"value":7052},"mysql-kafka-omneo_incrementing_timestamp",{"type":29,"value":5130},{"type":23,"tag":352,"props":7055,"children":7057},{"className":1283,"code":7056,"language":1285,"meta":7,"style":7},"kafka-console-consumer.sh --bootstrap-server master:9092 --topic mysql-kafka-omneo_incrementing_timestamp --from-beginning\n",[7058],{"type":23,"tag":58,"props":7059,"children":7060},{"__ignoreMap":7},[7061],{"type":23,"tag":362,"props":7062,"children":7063},{"class":364,"line":365},[7064,7068,7072,7076,7080,7085],{"type":23,"tag":362,"props":7065,"children":7066},{"style":461},[7067],{"type":29,"value":2830},{"type":23,"tag":362,"props":7069,"children":7070},{"style":477},[7071],{"type":29,"value":2835},{"type":23,"tag":362,"props":7073,"children":7074},{"style":436},[7075],{"type":29,"value":2840},{"type":23,"tag":362,"props":7077,"children":7078},{"style":477},[7079],{"type":29,"value":1753},{"type":23,"tag":362,"props":7081,"children":7082},{"style":436},[7083],{"type":29,"value":7084}," mysql-kafka-omneo_incrementing_timestamp",{"type":23,"tag":362,"props":7086,"children":7087},{"style":477},[7088],{"type":29,"value":2854},{"type":23,"tag":342,"props":7090,"children":7091},{"start":628},[7092],{"type":23,"tag":346,"props":7093,"children":7094},{},[7095,7096,7101,7102,7107,7108,7113,7114],{"type":29,"value":5135},{"type":23,"tag":58,"props":7097,"children":7099},{"className":7098},[],[7100],{"type":29,"value":1998},{"type":29,"value":3368},{"type":23,"tag":58,"props":7103,"children":7105},{"className":7104},[],[7106],{"type":29,"value":2212},{"type":29,"value":5148},{"type":23,"tag":58,"props":7109,"children":7111},{"className":7110},[],[7112],{"type":29,"value":5154},{"type":29,"value":5156},{"type":23,"tag":58,"props":7115,"children":7117},{"className":7116},[],[7118],{"type":29,"value":5162},{"type":23,"tag":352,"props":7120,"children":7122},{"className":354,"code":7121,"language":356,"meta":7,"style":7},"update omneo_incrementing_timestamp set firstname = \"world\" ,commenttime=\"2020-12-20 15:55:10\" where pid in(2,4);\n",[7123],{"type":23,"tag":58,"props":7124,"children":7125},{"__ignoreMap":7},[7126],{"type":23,"tag":362,"props":7127,"children":7128},{"class":364,"line":365},[7129,7133,7137,7141,7145,7149,7153,7157,7161,7166,7170,7174,7178,7182,7186,7190,7194],{"type":23,"tag":362,"props":7130,"children":7131},{"style":375},[7132],{"type":29,"value":5177},{"type":23,"tag":362,"props":7134,"children":7135},{"style":369},[7136],{"type":29,"value":6629},{"type":23,"tag":362,"props":7138,"children":7139},{"style":375},[7140],{"type":29,"value":5186},{"type":23,"tag":362,"props":7142,"children":7143},{"style":369},[7144],{"type":29,"value":5191},{"type":23,"tag":362,"props":7146,"children":7147},{"style":375},[7148],{"type":29,"value":829},{"type":23,"tag":362,"props":7150,"children":7151},{"style":436},[7152],{"type":29,"value":5200},{"type":23,"tag":362,"props":7154,"children":7155},{"style":369},[7156],{"type":29,"value":5205},{"type":23,"tag":362,"props":7158,"children":7159},{"style":375},[7160],{"type":29,"value":829},{"type":23,"tag":362,"props":7162,"children":7163},{"style":436},[7164],{"type":29,"value":7165},"\"2020-12-20 15:55:10\"",{"type":23,"tag":362,"props":7167,"children":7168},{"style":375},[7169],{"type":29,"value":5219},{"type":23,"tag":362,"props":7171,"children":7172},{"style":369},[7173],{"type":29,"value":5224},{"type":23,"tag":362,"props":7175,"children":7176},{"style":375},[7177],{"type":29,"value":5229},{"type":23,"tag":362,"props":7179,"children":7180},{"style":369},[7181],{"type":29,"value":514},{"type":23,"tag":362,"props":7183,"children":7184},{"style":477},[7185],{"type":29,"value":1998},{"type":23,"tag":362,"props":7187,"children":7188},{"style":369},[7189],{"type":29,"value":1893},{"type":23,"tag":362,"props":7191,"children":7192},{"style":477},[7193],{"type":29,"value":2212},{"type":23,"tag":362,"props":7195,"children":7196},{"style":369},[7197],{"type":29,"value":1966},{"type":23,"tag":342,"props":7199,"children":7200},{"start":677},[7201],{"type":23,"tag":346,"props":7202,"children":7203},{},[7204,7205,7210],{"type":29,"value":2916},{"type":23,"tag":58,"props":7206,"children":7208},{"className":7207},[],[7209],{"type":29,"value":7052},{"type":29,"value":7211}," 主题，发现手动修改的两条数据并没有被消费到控制台。",{"type":23,"tag":24,"props":7213,"children":7215},{"id":7214},"timestamp-incrementing-混合模式结论",[7216],{"type":29,"value":7217},"timestamp + incrementing 混合模式结论",{"type":23,"tag":35,"props":7219,"children":7220},{},[7221],{"type":29,"value":7222},"由以上测试结果可知，这次的测试不知道是我的粗心导致哪些细节的地方没有注意到，还是 kafka connect 的 BUG，后续我还会继续去排查问题的原因，如果有小伙伴测试成功了，希望小伙伴在留言\u002F私信不吝赐教。",{"type":23,"tag":31,"props":7224,"children":7225},{},[7226],{"type":23,"tag":35,"props":7227,"children":7228},{},[7229,7231,7237],{"type":29,"value":7230},"虽然本人测试失败了，但是还是推荐大家使用 canal 来完成 MySQL 数据近实时同步至 Kafka ，因为 kafka connect 是通过 select 的语句将 Mysql中的数据查询出来然后再写入 kafka ，这里会有一个瓶颈问题 ",{"type":23,"tag":58,"props":7232,"children":7234},{"className":7233},[],[7235],{"type":29,"value":7236},"当查询的数据量大于千万级别的时候，查询速度会特别的慢(没有建索引)，而 canal 则是通过监控 MySQL 的 binlog 日志来完成数据同步的，大数据量的场景下建议使用 canal",{"type":29,"value":7238}," 。",{"type":23,"tag":7240,"props":7241,"children":7242},"style",{},[7243],{"type":29,"value":7244},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":7,"searchDepth":417,"depth":417,"links":7246},[7247,7248,7249,7250,7251,7252,7253,7254,7255,7256,7257],{"id":26,"depth":396,"text":26},{"id":50,"depth":396,"text":53},{"id":90,"depth":396,"text":90},{"id":217,"depth":396,"text":217},{"id":332,"depth":396,"text":335},{"id":338,"depth":396,"text":338},{"id":3295,"depth":396,"text":3298},{"id":3379,"depth":396,"text":3382},{"id":5266,"depth":396,"text":5269},{"id":5285,"depth":396,"text":5288},{"id":7214,"depth":396,"text":7217},"markdown","content:blog:2020-05-08-kafka-connect-mysql.md","content","blog\u002F2020-05-08-kafka-connect-mysql.md","blog\u002F2020-05-08-kafka-connect-mysql","md",[7265,7268],{"_path":7266,"title":7267},"\u002Fblog\u002F2020-05-10-leetcode-vscode","力扣(LeetCode)刷题神器之Vs Code",null,1796523532994]