{"id":27409,"date":"2024-11-24T14:55:10","date_gmt":"2024-11-24T06:55:10","guid":{"rendered":"https:\/\/fwq.ai\/blog\/27409\/"},"modified":"2024-11-24T14:55:10","modified_gmt":"2024-11-24T06:55:10","slug":"flink-cdc-%e7%9b%91%e5%90%ac%e4%b8%bb%e9%94%ae%e4%b8%ba%e4%ba%8c%e8%bf%9b%e5%88%b6%e6%a0%bc%e5%bc%8f%e7%9a%84-mysql-%e8%a1%a8%e6%8a%a5%e9%94%99%ef%bc%9a%e5%a6%82%e4%bd%95%e8%a7%a3%e5%86%b3%ef%bc%9f-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/27409\/","title":{"rendered":"Flink CDC \u76d1\u542c\u4e3b\u952e\u4e3a\u4e8c\u8fdb\u5236\u683c\u5f0f\u7684 MySQL \u8868\u62a5\u9519\uff1a\u5982\u4f55\u89e3\u51b3\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173124127666882.jpg\" class=\"aligncenter\" title=\"Flink CDC \u76d1\u542c\u4e3b\u952e\u4e3a\u4e8c\u8fdb\u5236\u683c\u5f0f\u7684 MySQL \u8868\u62a5\u9519\uff1a\u5982\u4f55\u89e3\u51b3\uff1f\u63d2\u56fe\" alt=\"Flink CDC \u76d1\u542c\u4e3b\u952e\u4e3a\u4e8c\u8fdb\u5236\u683c\u5f0f\u7684 MySQL \u8868\u62a5\u9519\uff1a\u5982\u4f55\u89e3\u51b3\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>flink cdc \u76d1\u542c\u4e3b\u952e\u4e3a\u4e8c\u8fdb\u5236\u683c\u5f0f\u7684  \u8868\u62a5\u9519<\/strong><\/p>\n<p>\u4f7f\u7528 flink cdc \u76d1\u542c mysql \u8868\u65f6\uff0c\u5982\u679c\u4e3b\u952e\u662f\u4e8c\u8fdb\u5236\u683c\u5f0f\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u4ee5\u4e0b\u9519\u8bef\uff1a<\/p>\n<pre>[B cannot be cast to java.lang.Comparable<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8fd9\u662f\u7531\u4e8e\u4e3b\u952e\u4e3a\u4e8c\u8fdb\u5236\u683c\u5f0f\u5bfc\u81f4\u6bd4\u8f83\u5668\u65e0\u6cd5\u5c06\u5b83\u4eec\u8f6c\u6362\u4e3a\u53ef\u6bd4\u8f83\u7c7b\u578b\u9020\u6210\u7684\u3002<\/p>\n<p><strong>\u89e3\u51b3\u65b9\u6cd5\uff1a<\/strong><\/p>\n<p>\u6b64\u95ee\u9898\u5df2\u5728 flink cdc \u4e2d\u5f97\u5230\u89e3\u51b3\uff0c\u5177\u4f53\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n<ol>\n<li>\u5c06 flink cdc \u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c\u3002<\/li>\n<li>\u5982\u679c\u5347\u7ea7\u540e\u4ecd\u7136\u9047\u5230\u6b64\u95ee\u9898\uff0c\u53ef\u4ee5\u67e5\u770b [hub issue #2746](https:\/\/github.com\/ververica\/flink-cdc-connectors\/issues\/2746) \u5e76\u6309\u7167\u63d0\u4f9b\u7684\u89e3\u51b3\u65b9\u6848\u8fdb\u884c\u64cd\u4f5c\u3002<\/li>\n<\/ol>\n<p>\u4ee5\u4e0a\u5c31\u662fFlink CDC \u76d1\u542c\u4e3b\u952e\u4e3a\u4e8c\u8fdb\u5236\u683c\u5f0f\u7684 MySQL \u8868\u62a5\u9519\uff1a\u5982\u4f55\u89e3\u51b3\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>flink cdc \u76d1\u542c\u4e3b\u952e\u4e3a\u4e8c\u8fdb\u5236\u683c\u5f0f\u7684 \u8868\u62a5\u9519 \u4f7f\u7528 flink cdc \u76d1\u542c mysql \u8868\u65f6\uff0c\u5982\u679c\u4e3b\u952e\u662f\u4e8c\u8fdb\u5236\u683c\u5f0f\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u4ee5\u4e0b\u9519\u8bef\uff1a [B cannot be cast to java.lang.Comparable \u767b\u5f55\u540e\u590d\u5236 \u8fd9\u662f\u7531\u4e8e\u4e3b\u952e\u4e3a\u4e8c\u8fdb\u5236\u683c\u5f0f\u5bfc\u81f4\u6bd4\u8f83\u5668\u65e0\u6cd5\u5c06\u5b83\u4eec\u8f6c\u6362\u4e3a\u53ef\u6bd4\u8f83\u7c7b\u578b\u9020\u6210\u7684\u3002 \u89e3\u51b3\u65b9\u6cd5\uff1a \u6b64\u95ee\u9898\u5df2\u5728 flink cdc \u4e2d\u5f97\u5230\u89e3\u51b3\uff0c\u5177\u4f53\u65b9\u6cd5\u5982\u4e0b\uff1a \u5c06 flink cdc \u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c\u3002 \u5982\u679c\u5347\u7ea7\u540e\u4ecd\u7136\u9047\u5230\u6b64\u95ee\u9898\uff0c\u53ef\u4ee5\u67e5\u770b [hub issue #2746](https:\/\/github.com\/ververica\/flink-cdc-connectors\/issues\/2746) \u5e76\u6309\u7167\u63d0\u4f9b\u7684\u89e3\u51b3\u65b9\u6848\u8fdb\u884c\u64cd\u4f5c\u3002 \u4ee5\u4e0a\u5c31\u662fFlink CDC \u76d1\u542c\u4e3b\u952e\u4e3a\u4e8c\u8fdb\u5236\u683c\u5f0f\u7684 MySQL \u8868\u62a5\u9519\uff1a\u5982\u4f55\u89e3\u51b3\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-27409","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/27409","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=27409"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/27409\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=27409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=27409"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=27409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}