{"id":8598,"date":"2024-06-02T18:01:01","date_gmt":"2024-06-02T10:01:01","guid":{"rendered":""},"modified":"2024-06-02T18:01:01","modified_gmt":"2024-06-02T10:01:01","slug":"flink\u5b9e\u65f6\u5927\u6570\u636e\u5206\u6790_flink\u6d41\u5f0f\u5904\u7406\u7684\u539f\u7406","status":"publish","type":"post","link":"https:\/\/mushiming.com\/8598.html","title":{"rendered":"flink\u5b9e\u65f6\u5927\u6570\u636e\u5206\u6790_flink\u6d41\u5f0f\u5904\u7406\u7684\u539f\u7406"},"content":{"rendered":"

\n <\/path> \n<\/svg> <\/p>\n


\n

\n Flink \u4ece\u5165\u95e8\u5230\u5b9e\u8df5\uff1a\u521d\u6b65\u4ecb\u7ecd
\n <\/center><\/h2>\n

Apache Flink \u662f\u4e00\u4e2a\u6846\u67b6\u548c\u5206\u5e03\u5f0f\u5904\u7406\u5f15\u64ce\uff0c\u7528\u4e8e\u5728 \u65e0\u8fb9\u754c<\/strong><\/font> \u548c \u6709\u8fb9\u754c<\/strong><\/font> \u6570\u636e\u6d41\u4e0a\u8fdb\u884c \u6709\u72b6\u6001<\/strong><\/font> \u7684\u8ba1\u7b97\u3002Flink \u80fd\u5728\u6240\u6709\u5e38\u89c1\u96c6\u7fa4\u73af\u5883\u4e2d\u8fd0\u884c\uff0c\u5e76\u80fd\u4ee5\u5185\u5b58\u901f\u5ea6\u548c\u4efb\u610f\u89c4\u6a21\u8fdb\u884c\u8ba1\u7b97\u3002<\/p>\n

\"flink\u5b9e\u65f6\u5927\u6570\u636e\u5206\u6790_flink\u6d41\u5f0f\u5904\u7406\u7684\u539f\u7406<\/p>\n

1.\u67b6\u6784<\/h3>\n

1.1 \u5904\u7406\u65e0\u754c\u548c\u6709\u754c\u6570\u636e<\/h4>\n

\u4efb\u4f55\u7c7b\u578b\u7684\u6570\u636e\u90fd\u53ef\u4ee5\u5f62\u6210\u4e00\u79cd\u4e8b\u4ef6\u6d41\u3002\u4fe1\u7528\u5361\u4ea4\u6613\u3001\u4f20\u611f\u5668\u6d4b\u91cf\u3001\u673a\u5668\u65e5\u5fd7\u3001\u7f51\u7ad9\u6216\u79fb\u52a8\u5e94\u7528\u7a0b\u5e8f\u4e0a\u7684\u7528\u6237\u4ea4\u4e92\u8bb0\u5f55\uff0c\u6240\u6709\u8fd9\u4e9b\u6570\u636e\u90fd\u5f62\u6210\u4e00\u79cd\u6d41\u3002<\/p>\n

\u6570\u636e\u53ef\u4ee5\u88ab\u4f5c\u4e3a \u65e0\u754c<\/strong> \u6216\u8005 \u6709\u754c<\/strong> \u6d41\u6765\u5904\u7406\u3002<\/p>\n

    \n
  • \u65e0\u754c\u6d41<\/strong><\/font>\uff1a\u6709\u5b9a\u4e49\u6d41\u7684\u5f00\u59cb\uff0c\u4f46\u6ca1\u6709\u5b9a\u4e49\u6d41\u7684\u7ed3\u675f\u3002\u5b83\u4eec\u4f1a\u65e0\u4f11\u6b62\u5730\u4ea7\u751f\u6570\u636e\u3002\u65e0\u754c\u6d41\u7684\u6570\u636e\u5fc5\u987b\u6301\u7eed\u5904\u7406\uff0c\u5373\u6570\u636e\u88ab\u6444\u53d6\u540e\u9700\u8981\u7acb\u523b\u5904\u7406\u3002\u6211\u4eec\u4e0d\u80fd\u7b49\u5230\u6240\u6709\u6570\u636e\u90fd\u5230\u8fbe\u518d\u5904\u7406\uff0c\u56e0\u4e3a\u8f93\u5165\u662f\u65e0\u9650\u7684\uff0c\u5728\u4efb\u4f55\u65f6\u5019\u8f93\u5165\u90fd\u4e0d\u4f1a\u5b8c\u6210\u3002\u5904\u7406\u65e0\u754c\u6570\u636e\u901a\u5e38\u8981\u6c42\u4ee5\u7279\u5b9a\u987a\u5e8f\u6444\u53d6\u4e8b\u4ef6\uff0c\u4f8b\u5982\u4e8b\u4ef6\u53d1\u751f\u7684\u987a\u5e8f\uff0c\u4ee5\u4fbf\u80fd\u591f\u63a8\u65ad\u7ed3\u679c\u7684\u5b8c\u6574\u6027\u3002<\/li>\n
  • \u6709\u754c\u6d41<\/strong><\/font>\uff1a\u6709\u5b9a\u4e49\u6d41\u7684\u5f00\u59cb\uff0c\u4e5f\u6709\u5b9a\u4e49\u6d41\u7684\u7ed3\u675f\u3002\u6709\u754c\u6d41\u53ef\u4ee5\u5728\u6444\u53d6\u6240\u6709\u6570\u636e\u540e\u518d\u8fdb\u884c\u8ba1\u7b97\u3002\u6709\u754c\u6d41\u6240\u6709\u6570\u636e\u53ef\u4ee5\u88ab\u6392\u5e8f\uff0c\u6240\u4ee5\u5e76\u4e0d\u9700\u8981\u6709\u5e8f\u6444\u53d6\u3002\u6709\u754c\u6d41\u5904\u7406\u901a\u5e38\u88ab\u79f0\u4e3a\u6279\u5904\u7406<\/li>\n<\/ul>\n

    \"flink\u5b9e\u65f6\u5927\u6570\u636e\u5206\u6790_flink\u6d41\u5f0f\u5904\u7406\u7684\u539f\u7406
    Apache Flink \u64c5\u957f\u5904\u7406\u65e0\u754c\u548c\u6709\u754c\u6570\u636e\u96c6<\/strong>\u3002\u7cbe\u786e\u7684\u65f6\u95f4\u63a7\u5236\u548c\u72b6\u6001\u5316\u4f7f\u5f97 Flink \u7684\u8fd0\u884c\u65f6\uff08runtime\uff09\u80fd\u591f\u8fd0\u884c\u4efb\u4f55\u5904\u7406\u65e0\u754c\u6d41\u7684\u5e94\u7528\u3002\u6709\u754c\u6d41\u5219\u7531\u4e00\u4e9b\u4e13\u4e3a\u56fa\u5b9a\u5927\u5c0f\u6570\u636e\u96c6\u7279\u6b8a\u8bbe\u8ba1\u7684\u7b97\u6cd5\u548c\u6570\u636e\u7ed3\u6784\u8fdb\u884c\u5185\u90e8\u5904\u7406\uff0c\u4ea7\u751f\u4e86\u51fa\u8272\u7684\u6027\u80fd\u3002<\/p>\n

    1.2 \u90e8\u7f72\u5e94\u7528\u5230\u4efb\u610f\u5730\u65b9<\/h4>\n

    Apache Flink \u662f\u4e00\u4e2a\u5206\u5e03\u5f0f\u7cfb\u7edf\uff0c\u5b83\u9700\u8981\u8ba1\u7b97\u8d44\u6e90\u6765\u6267\u884c\u5e94\u7528\u7a0b\u5e8f\u3002Flink \u96c6\u6210\u4e86\u6240\u6709\u5e38\u89c1\u7684\u96c6\u7fa4\u8d44\u6e90\u7ba1\u7406\u5668\uff0c\u4f8b\u5982 Hadoop YARN<\/strong><\/font>\u3001 Apache Mesos<\/strong><\/font> \u548c Kubernetes<\/strong><\/font>\uff0c\u4f46\u540c\u65f6\u4e5f\u53ef\u4ee5\u4f5c\u4e3a\u72ec\u7acb\u96c6\u7fa4\u8fd0\u884c\u3002<\/p>\n

    Flink \u88ab\u8bbe\u8ba1\u4e3a\u80fd\u591f\u5f88\u597d\u5730\u5de5\u4f5c\u5728\u4e0a\u8ff0\u6bcf\u4e2a\u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\uff0c\u8fd9\u662f\u901a\u8fc7\u8d44\u6e90\u7ba1\u7406\u5668\u7279\u5b9a\uff08resource-manager-specific<\/code>\uff09\u7684\u90e8\u7f72\u6a21\u5f0f\u5b9e\u73b0\u7684\u3002Flink \u53ef\u4ee5\u91c7\u7528\u4e0e\u5f53\u524d\u8d44\u6e90\u7ba1\u7406\u5668\u76f8\u9002\u5e94\u7684\u65b9\u5f0f\u8fdb\u884c\u4ea4\u4e92\u3002<\/p>\n

    \u90e8\u7f72 Flink \u5e94\u7528\u7a0b\u5e8f\u65f6\uff0cFlink \u4f1a\u6839\u636e\u5e94\u7528\u7a0b\u5e8f\u914d\u7f6e\u7684\u5e76\u884c\u6027\u81ea\u52a8\u6807\u8bc6\u6240\u9700\u7684\u8d44\u6e90\uff0c\u5e76\u4ece\u8d44\u6e90\u7ba1\u7406\u5668\u8bf7\u6c42\u8fd9\u4e9b\u8d44\u6e90\u3002\u5728\u53d1\u751f\u6545\u969c\u7684\u60c5\u51b5\u4e0b\uff0cFlink \u901a\u8fc7\u8bf7\u6c42\u65b0\u8d44\u6e90\u6765\u66ff\u6362\u53d1\u751f\u6545\u969c\u7684\u5bb9\u5668\u3002\u63d0\u4ea4\u6216\u63a7\u5236\u5e94\u7528\u7a0b\u5e8f\u7684\u6240\u6709\u901a\u4fe1\u90fd\u662f\u901a\u8fc7 REST \u8c03\u7528\u8fdb\u884c\u7684\uff0c\u8fd9\u53ef\u4ee5\u7b80\u5316 Flink \u4e0e\u5404\u79cd\u73af\u5883\u4e2d\u7684\u96c6\u6210\u3002<\/p>\n

    1.3 \u8fd0\u884c\u4efb\u610f\u89c4\u6a21\u5e94\u7528<\/h4>\n

    Flink \u65e8\u5728\u4efb\u610f\u89c4\u6a21\u4e0a\u8fd0\u884c\u6709\u72b6\u6001\u6d41\u5f0f\u5e94\u7528\u3002\u56e0\u6b64\uff0c\u5e94\u7528\u7a0b\u5e8f\u88ab\u5e76\u884c\u5316\u4e3a\u53ef\u80fd\u6570\u5343\u4e2a\u4efb\u52a1\uff0c\u8fd9\u4e9b\u4efb\u52a1\u5206\u5e03\u5728\u96c6\u7fa4\u4e2d\u5e76\u53d1\u6267\u884c\u3002\u6240\u4ee5\u5e94\u7528\u7a0b\u5e8f\u80fd\u591f\u5145\u5206\u5229\u7528\u65e0\u5c3d\u7684 CPU\u3001\u5185\u5b58\u3001\u78c1\u76d8\u548c\u7f51\u7edc IO\u3002\u800c\u4e14 Flink \u5f88\u5bb9\u6613\u7ef4\u62a4\u975e\u5e38\u5927\u7684\u5e94\u7528\u7a0b\u5e8f\u72b6\u6001\u3002\u5176\u5f02\u6b65\u548c\u589e\u91cf\u7684\u68c0\u67e5\u70b9\u7b97\u6cd5\u5bf9\u5904\u7406\u5ef6\u8fdf\u4ea7\u751f\u6700\u5c0f\u7684\u5f71\u54cd\uff0c\u540c\u65f6\u4fdd\u8bc1\u7cbe\u786e\u4e00\u6b21\u72b6\u6001\u7684\u4e00\u81f4\u6027\u3002<\/p>\n

    Flink \u7528\u6237\u62a5\u544a\u4e86\u5176\u751f\u4ea7\u73af\u5883\u4e2d\u4e00\u4e9b\u4ee4\u4eba\u5370\u8c61\u6df1\u523b\u7684\u6269\u5c55\u6027\u6570\u5b57<\/p>\n

      \n
    • \u5904\u7406\u6bcf\u5929\u6570\u4e07\u4ebf\u7684\u4e8b\u4ef6<\/li>\n
    • \u5e94\u7528\u7ef4\u62a4\u51e0TB\u5927\u5c0f\u7684\u72b6\u6001<\/li>\n
    • \u5e94\u7528\u5728\u6570\u5343\u4e2a\u5185\u6838\u4e0a\u8fd0\u884c<\/li>\n<\/ul>\n

      1.4 \u5229\u7528\u5185\u5b58\u6027\u80fd<\/h4>\n

      \u6709\u72b6\u6001\u7684 Flink \u7a0b\u5e8f\u9488\u5bf9\u672c\u5730\u72b6\u6001\u8bbf\u95ee\u8fdb\u884c\u4e86\u4f18\u5316\u3002\u4efb\u52a1\u7684\u72b6\u6001\u59cb\u7ec8\u4fdd\u7559\u5728\u5185\u5b58\u4e2d\uff0c\u5982\u679c\u72b6\u6001\u5927\u5c0f\u8d85\u8fc7\u53ef\u7528\u5185\u5b58\uff0c\u5219\u4f1a\u4fdd\u5b58\u5728\u80fd\u9ad8\u6548\u8bbf\u95ee\u7684\u78c1\u76d8\u6570\u636e\u7ed3\u6784\u4e2d\u3002\u4efb\u52a1\u901a\u8fc7\u8bbf\u95ee\u672c\u5730\uff08\u901a\u5e38\u5728\u5185\u5b58\u4e2d\uff09\u72b6\u6001\u6765\u8fdb\u884c\u6240\u6709\u7684\u8ba1\u7b97\uff0c\u4ece\u800c\u4ea7\u751f\u975e\u5e38\u4f4e\u7684\u5904\u7406\u5ef6\u8fdf\u3002Flink \u901a\u8fc7\u5b9a\u671f\u548c\u5f02\u6b65\u5730\u5bf9\u672c\u5730\u72b6\u6001\u8fdb\u884c\u6301\u4e45\u5316\u5b58\u50a8\u6765\u4fdd\u8bc1\u6545\u969c\u573a\u666f\u4e0b\u7cbe\u786e\u4e00\u6b21\u7684\u72b6\u6001\u4e00\u81f4\u6027\u3002<\/p>\n

      \"flink\u5b9e\u65f6\u5927\u6570\u636e\u5206\u6790_flink\u6d41\u5f0f\u5904\u7406\u7684\u539f\u7406<\/p>\n

      2.\u5e94\u7528<\/h3>\n

      Apache Flink \u662f\u4e00\u4e2a\u9488\u5bf9\u65e0\u754c\u548c\u6709\u754c\u6570\u636e\u6d41\u8fdb\u884c\u6709\u72b6\u6001\u8ba1\u7b97\u7684\u6846\u67b6\u3002Flink \u81ea\u5e95\u5411\u4e0a\u5728\u4e0d\u540c\u7684\u62bd\u8c61\u7ea7\u522b\u63d0\u4f9b\u4e86\u591a\u79cd API\uff0c\u5e76\u4e14\u9488\u5bf9\u5e38\u89c1\u7684\u4f7f\u7528\u573a\u666f\u5f00\u53d1\u4e86\u4e13\u7528\u7684\u6269\u5c55\u5e93\u3002<\/p>\n

      2.1 \u6d41\u5904\u7406\u5e94\u7528\u7684\u57fa\u672c\u7ec4\u4ef6<\/h4>\n

      2.1.1 \u6d41<\/h5>\n

      \u663e\u800c\u6613\u89c1\uff0c\uff08\u6570\u636e\uff09\u6d41\u662f\u6d41\u5904\u7406\u7684\u57fa\u672c\u8981\u7d20\u3002\u7136\u800c\uff0c\u6d41\u4e5f\u62e5\u6709\u7740\u591a\u79cd\u7279\u5f81\u3002\u8fd9\u4e9b\u7279\u5f81\u51b3\u5b9a\u4e86\u6d41\u5982\u4f55\u4ee5\u53ca\u4f55\u65f6\u88ab\u5904\u7406\u3002Flink \u662f\u4e00\u4e2a\u80fd\u591f\u5904\u7406\u4efb\u4f55\u7c7b\u578b\u6570\u636e\u6d41\u7684\u5f3a\u5927\u5904\u7406\u6846\u67b6\u3002<\/p>\n

        \n
      • \u6709\u754c<\/strong><\/font> \u548c \u65e0\u754c<\/strong><\/font> \u7684\u6570\u636e\u6d41\uff1a\u6d41\u53ef\u4ee5\u662f\u65e0\u754c\u7684\uff1b\u4e5f\u53ef\u4ee5\u662f\u6709\u754c\u7684\uff0c\u4f8b\u5982\u56fa\u5b9a\u5927\u5c0f\u7684\u6570\u636e\u96c6\u3002Flink \u5728\u65e0\u754c\u7684\u6570\u636e\u6d41\u5904\u7406\u4e0a\u62e5\u6709\u8bf8\u591a\u529f\u80fd\u5f3a\u5927\u7684\u7279\u6027\uff0c\u540c\u65f6\u4e5f\u9488\u5bf9\u6709\u754c\u7684\u6570\u636e\u6d41\u5f00\u53d1\u4e86\u4e13\u7528\u7684\u9ad8\u6548\u7b97\u5b50\u3002<\/li>\n
      • \u5b9e\u65f6<\/strong><\/font> \u548c \u5386\u53f2\u8bb0\u5f55<\/strong><\/font> \u7684\u6570\u636e\u6d41\uff1a\u6240\u6709\u7684\u6570\u636e\u90fd\u662f\u4ee5\u6d41\u7684\u65b9\u5f0f\u4ea7\u751f\uff0c\u4f46\u7528\u6237\u901a\u5e38\u4f1a\u4f7f\u7528\u4e24\u79cd\u622a\u7136\u4e0d\u540c\u7684\u65b9\u6cd5\u5904\u7406\u6570\u636e\u3002\u6216\u662f\u5728\u6570\u636e\u751f\u6210\u65f6\u8fdb\u884c\u5b9e\u65f6\u7684\u5904\u7406\uff1b\u4ea6\u6216\u662f\u5148\u5c06\u6570\u636e\u6d41\u6301\u4e45\u5316\u5230\u5b58\u50a8\u7cfb\u7edf\u4e2d\u2014\u2014\u4f8b\u5982\u6587\u4ef6\u7cfb\u7edf\u6216\u5bf9\u8c61\u5b58\u50a8\uff0c\u7136\u540e\u518d\u8fdb\u884c\u6279\u5904\u7406\u3002Flink \u7684\u5e94\u7528\u80fd\u591f\u540c\u65f6\u652f\u6301\u5904\u7406\u5b9e\u65f6\u4ee5\u53ca\u5386\u53f2\u8bb0\u5f55\u6570\u636e\u6d41\u3002<\/li>\n<\/ul>\n
        2.1.2 \u72b6\u6001<\/h5>\n

        \u53ea\u6709\u5728\u6bcf\u4e00\u4e2a\u5355\u72ec\u7684\u4e8b\u4ef6\u4e0a\u8fdb\u884c\u8f6c\u6362\u64cd\u4f5c\u7684\u5e94\u7528\u624d\u4e0d\u9700\u8981\u72b6\u6001\uff0c\u6362\u8a00\u4e4b\uff0c\u6bcf\u4e00\u4e2a\u5177\u6709\u4e00\u5b9a\u590d\u6742\u5ea6\u7684\u6d41\u5904\u7406\u5e94\u7528\u90fd\u662f\u6709\u72b6\u6001\u7684\u3002\u4efb\u4f55\u8fd0\u884c\u57fa\u672c\u4e1a\u52a1\u903b\u8f91\u7684\u6d41\u5904\u7406\u5e94\u7528\u90fd\u9700\u8981\u5728\u4e00\u5b9a\u65f6\u95f4\u5185\u5b58\u50a8\u6240\u63a5\u6536\u7684\u4e8b\u4ef6\u6216\u4e2d\u95f4\u7ed3\u679c\uff0c\u4ee5\u4f9b\u540e\u7eed\u7684\u67d0\u4e2a\u65f6\u95f4\u70b9\uff08\u4f8b\u5982\u6536\u5230\u4e0b\u4e00\u4e2a\u4e8b\u4ef6\u6216\u8005\u7ecf\u8fc7\u4e00\u6bb5\u7279\u5b9a\u65f6\u95f4\uff09\u8fdb\u884c\u8bbf\u95ee\u5e76\u8fdb\u884c\u540e\u7eed\u5904\u7406\u3002
        \"flink\u5b9e\u65f6\u5927\u6570\u636e\u5206\u6790_flink\u6d41\u5f0f\u5904\u7406\u7684\u539f\u7406
        \u5e94\u7528\u72b6\u6001\u662f Flink \u4e2d\u7684\u4e00\u7b49\u516c\u6c11\uff0cFlink \u63d0\u4f9b\u4e86\u8bb8\u591a\u72b6\u6001\u7ba1\u7406\u76f8\u5173\u7684\u7279\u6027\u652f\u6301\uff0c\u5176\u4e2d\u5305\u62ec\uff1a<\/p>\n

          \n
        • \u591a\u79cd\u72b6\u6001\u57fa\u7840\u7c7b\u578b<\/strong><\/font>\uff1aFlink \u4e3a\u591a\u79cd\u4e0d\u540c\u7684\u6570\u636e\u7ed3\u6784\u63d0\u4f9b\u4e86\u76f8\u5bf9\u5e94\u7684\u72b6\u6001\u57fa\u7840\u7c7b\u578b\uff0c\u4f8b\u5982\u539f\u5b50\u503c\uff08value\uff09\uff0c\u5217\u8868\uff08list\uff09\u4ee5\u53ca\u6620\u5c04\uff08map\uff09\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u57fa\u4e8e\u5904\u7406\u51fd\u6570\u5bf9\u72b6\u6001\u7684\u8bbf\u95ee\u65b9\u5f0f\uff0c\u9009\u62e9\u6700\u9ad8\u6548\u3001\u6700\u9002\u5408\u7684\u72b6\u6001\u57fa\u7840\u7c7b\u578b\u3002<\/li>\n
        • \u63d2\u4ef6\u5316\u7684 State Backend<\/strong><\/font>\uff1aState Backend \u8d1f\u8d23\u7ba1\u7406\u5e94\u7528\u7a0b\u5e8f\u72b6\u6001\uff0c\u5e76\u5728\u9700\u8981\u7684\u65f6\u5019\u8fdb\u884c checkpoint\u3002Flink \u652f\u6301\u591a\u79cd state backend\uff0c\u53ef\u4ee5\u5c06\u72b6\u6001\u5b58\u5728\u5185\u5b58\u6216\u8005 RocksDB\u3002RocksDB \u662f\u4e00\u79cd\u9ad8\u6548\u7684\u5d4c\u5165\u5f0f\u3001\u6301\u4e45\u5316\u952e\u503c\u5b58\u50a8\u5f15\u64ce\u3002Flink \u4e5f\u652f\u6301\u63d2\u4ef6\u5f0f\u7684\u81ea\u5b9a\u4e49 state backend \u8fdb\u884c\u72b6\u6001\u5b58\u50a8\u3002<\/li>\n
        • \u7cbe\u786e\u4e00\u6b21\u8bed\u4e49<\/strong><\/font>\uff1aFlink \u7684 checkpoint \u548c\u6545\u969c\u6062\u590d\u7b97\u6cd5\u4fdd\u8bc1\u4e86\u6545\u969c\u53d1\u751f\u540e\u5e94\u7528\u72b6\u6001\u7684\u4e00\u81f4\u6027\u3002\u56e0\u6b64\uff0cFlink \u80fd\u591f\u5728\u5e94\u7528\u7a0b\u5e8f\u53d1\u751f\u6545\u969c\u65f6\uff0c\u5bf9\u5e94\u7528\u7a0b\u5e8f\u900f\u660e\uff0c\u4e0d\u9020\u6210\u6b63\u786e\u6027\u7684\u5f71\u54cd\u3002<\/li>\n
        • \u8d85\u5927\u6570\u636e\u91cf\u72b6\u6001<\/strong><\/font>\uff1aFlink \u80fd\u591f\u5229\u7528\u5176\u5f02\u6b65\u4ee5\u53ca\u589e\u91cf\u5f0f\u7684 checkpoint \u7b97\u6cd5\uff0c\u5b58\u50a8\u6570 TB \u7ea7\u522b\u7684\u5e94\u7528\u72b6\u6001\u3002<\/li>\n
        • \u53ef\u5f39\u6027\u4f38\u7f29\u7684\u5e94\u7528<\/strong><\/font>\uff1aFlink \u80fd\u591f\u901a\u8fc7\u5728\u66f4\u591a\u6216\u66f4\u5c11\u7684\u5de5\u4f5c\u8282\u70b9\u4e0a\u5bf9\u72b6\u6001\u8fdb\u884c\u91cd\u65b0\u5206\u5e03\uff0c\u652f\u6301\u6709\u72b6\u6001\u5e94\u7528\u7684\u5206\u5e03\u5f0f\u7684\u6a2a\u5411\u4f38\u7f29\u3002<\/li>\n<\/ul>\n
          2.1.3 \u65f6\u95f4<\/h5>\n

          \u65f6\u95f4\u662f\u6d41\u5904\u7406\u5e94\u7528\u53e6\u4e00\u4e2a\u91cd\u8981\u7684\u7ec4\u6210\u90e8\u5206\u3002\u56e0\u4e3a\u4e8b\u4ef6\u603b\u662f\u5728\u7279\u5b9a\u65f6\u95f4\u70b9\u53d1\u751f\uff0c\u6240\u4ee5\u5927\u591a\u6570\u7684\u4e8b\u4ef6\u6d41\u90fd\u62e5\u6709\u4e8b\u4ef6\u672c\u8eab\u6240\u56fa\u6709\u7684\u65f6\u95f4\u8bed\u4e49\u3002\u8fdb\u4e00\u6b65\u800c\u8a00\uff0c\u8bb8\u591a\u5e38\u89c1\u7684\u6d41\u8ba1\u7b97\u90fd\u57fa\u4e8e\u65f6\u95f4\u8bed\u4e49\uff0c\u4f8b\u5982\u7a97\u53e3\u805a\u5408\u3001\u4f1a\u8bdd\u8ba1\u7b97\u3001\u6a21\u5f0f\u68c0\u6d4b\u548c\u57fa\u4e8e\u65f6\u95f4\u7684 join\u3002\u6d41\u5904\u7406\u7684\u4e00\u4e2a\u91cd\u8981\u65b9\u9762\u662f\u5e94\u7528\u7a0b\u5e8f\u5982\u4f55\u8861\u91cf\u65f6\u95f4\uff0c\u5373\u533a\u5206\u4e8b\u4ef6\u65f6\u95f4\uff08event-time\uff09\u548c\u5904\u7406\u65f6\u95f4\uff08processing-time\uff09\u3002<\/p>\n

          Flink \u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u65f6\u95f4\u8bed\u4e49\u652f\u6301\u3002<\/p>\n

            \n
          • \u4e8b\u4ef6\u65f6\u95f4\u6a21\u5f0f<\/strong><\/font>\uff1a\u4f7f\u7528\u4e8b\u4ef6\u65f6\u95f4\u8bed\u4e49\u7684\u6d41\u5904\u7406\u5e94\u7528\u6839\u636e\u4e8b\u4ef6\u672c\u8eab\u81ea\u5e26\u7684\u65f6\u95f4\u6233\u8fdb\u884c\u7ed3\u679c\u7684\u8ba1\u7b97\u3002\u56e0\u6b64\uff0c\u65e0\u8bba\u5904\u7406\u7684\u662f\u5386\u53f2\u8bb0\u5f55\u7684\u4e8b\u4ef6\u8fd8\u662f\u5b9e\u65f6\u7684\u4e8b\u4ef6\uff0c\u4e8b\u4ef6\u65f6\u95f4\u6a21\u5f0f\u7684\u5904\u7406\u603b\u80fd\u4fdd\u8bc1\u7ed3\u679c\u7684\u51c6\u786e\u6027\u548c\u4e00\u81f4\u6027\u3002<\/li>\n
          • Watermark \u652f\u6301<\/strong><\/font>\uff1aFlink \u5f15\u5165\u4e86 Watermark \u7684\u6982\u5ff5\uff0c\u7528\u4ee5\u8861\u91cf\u4e8b\u4ef6\u65f6\u95f4\u8fdb\u5c55\u3002Watermark \u4e5f\u662f\u4e00\u79cd\u5e73\u8861\u5904\u7406\u5ef6\u65f6\u548c\u5b8c\u6574\u6027\u7684\u7075\u6d3b\u673a\u5236\u3002<\/li>\n
          • \u8fdf\u5230\u6570\u636e\u5904\u7406<\/strong><\/font>\uff1a\u5f53\u4ee5\u5e26\u6709 Watermark \u7684\u4e8b\u4ef6\u65f6\u95f4\u6a21\u5f0f\u5904\u7406\u6570\u636e\u6d41\u65f6\uff0c\u5728\u8ba1\u7b97\u5b8c\u6210\u4e4b\u540e\u4ecd\u4f1a\u6709\u76f8\u5173\u6570\u636e\u5230\u8fbe\u3002\u8fd9\u6837\u7684\u4e8b\u4ef6\u88ab\u79f0\u4e3a\u8fdf\u5230\u4e8b\u4ef6\u3002Flink \u63d0\u4f9b\u4e86\u591a\u79cd\u5904\u7406\u8fdf\u5230\u6570\u636e\u7684\u9009\u9879\uff0c\u4f8b\u5982\u5c06\u8fd9\u4e9b\u6570\u636e\u91cd\u5b9a\u5411\u5230\u65c1\u8def\u8f93\u51fa\uff08side output\uff09\u6216\u8005\u66f4\u65b0\u4e4b\u524d\u5b8c\u6210\u8ba1\u7b97\u7684\u7ed3\u679c\u3002<\/li>\n
          • \u5904\u7406\u65f6\u95f4\u6a21\u5f0f<\/strong><\/font>\uff1a\u9664\u4e86\u4e8b\u4ef6\u65f6\u95f4\u6a21\u5f0f\uff0cFlink \u8fd8\u652f\u6301\u5904\u7406\u65f6\u95f4\u8bed\u4e49\u3002\u5904\u7406\u65f6\u95f4\u6a21\u5f0f\u6839\u636e\u5904\u7406\u5f15\u64ce\u7684\u673a\u5668\u65f6\u949f\u89e6\u53d1\u8ba1\u7b97\uff0c\u4e00\u822c\u9002\u7528\u4e8e\u6709\u7740\u4e25\u683c\u7684\u4f4e\u5ef6\u8fdf\u9700\u6c42\uff0c\u5e76\u4e14\u80fd\u591f\u5bb9\u5fcd\u8fd1\u4f3c\u7ed3\u679c\u7684\u6d41\u5904\u7406\u5e94\u7528\u3002<\/li>\n<\/ul>\n

            2.2 \u5206\u5c42 API<\/h4>\n

            Flink \u6839\u636e\u62bd\u8c61\u7a0b\u5ea6\u5206\u5c42\uff0c\u63d0\u4f9b\u4e86\u4e09\u79cd\u4e0d\u540c\u7684 API\u3002\u6bcf\u4e00\u79cd API \u5728\u7b80\u6d01\u6027\u548c\u8868\u8fbe\u529b\u4e0a\u6709\u7740\u4e0d\u540c\u7684\u4fa7\u91cd\uff0c\u5e76\u4e14\u9488\u5bf9\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n

            \"flink\u5b9e\u65f6\u5927\u6570\u636e\u5206\u6790_flink\u6d41\u5f0f\u5904\u7406\u7684\u539f\u7406<\/p>\n

            2.2.1 ProcessFunction<\/h5>\n

            ProcessFunction \u662f Flink \u6240\u63d0\u4f9b\u7684\u6700\u5177\u8868\u8fbe\u529b\u7684\u63a5\u53e3\u3002ProcessFunction \u53ef\u4ee5\u5904\u7406\u4e00\u6216\u4e24\u6761\u8f93\u5165\u6570\u636e\u6d41\u4e2d\u7684\u5355\u4e2a\u4e8b\u4ef6\u6216\u8005\u5f52\u5165\u4e00\u4e2a\u7279\u5b9a\u7a97\u53e3\u5185\u7684\u591a\u4e2a\u4e8b\u4ef6\u3002\u5b83\u63d0\u4f9b\u4e86\u5bf9\u4e8e\u65f6\u95f4\u548c\u72b6\u6001\u7684\u7ec6\u7c92\u5ea6\u63a7\u5236\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5728\u5176\u4e2d\u4efb\u610f\u5730\u4fee\u6539\u72b6\u6001\uff0c\u4e5f\u80fd\u591f\u6ce8\u518c\u5b9a\u65f6\u5668\u7528\u4ee5\u5728\u672a\u6765\u7684\u67d0\u4e00\u65f6\u523b\u89e6\u53d1\u56de\u8c03\u51fd\u6570\u3002\u56e0\u6b64\uff0c\u4f60\u53ef\u4ee5\u5229\u7528 ProcessFunction \u5b9e\u73b0\u8bb8\u591a\u6709\u72b6\u6001\u7684\u4e8b\u4ef6\u9a71\u52a8\u5e94\u7528\u6240\u9700\u8981\u7684\u57fa\u4e8e\u5355\u4e2a\u4e8b\u4ef6\u7684\u590d\u6742\u4e1a\u52a1\u903b\u8f91\u3002<\/p>\n

            \u4e0b\u9762\u7684\u4ee3\u7801\u793a\u4f8b\u5c55\u793a\u4e86\u5982\u4f55\u5728 KeyedStream \u4e0a\u5229\u7528 KeyedProcessFunction \u5bf9\u6807\u8bb0\u4e3a START \u548c END \u7684\u4e8b\u4ef6\u8fdb\u884c\u5904\u7406\u3002\u5f53\u6536\u5230 START \u4e8b\u4ef6\u65f6\uff0c\u5904\u7406\u51fd\u6570\u4f1a\u8bb0\u5f55\u5176\u65f6\u95f4\u6233\uff0c\u5e76\u4e14\u6ce8\u518c\u4e00\u4e2a\u65f6\u957f 4 4 <\/span><\/span>4<\/span><\/span><\/span><\/span><\/span> \u5c0f\u65f6\u7684\u8ba1\u65f6\u5668\u3002\u5982\u679c\u5728\u8ba1\u65f6\u5668\u7ed3\u675f\u4e4b\u524d\u6536\u5230 END \u4e8b\u4ef6\uff0c\u5904\u7406\u51fd\u6570\u4f1a\u8ba1\u7b97\u5176\u4e0e\u4e0a\u4e00\u4e2a START \u4e8b\u4ef6\u7684\u65f6\u95f4\u95f4\u9694\uff0c\u6e05\u7a7a\u72b6\u6001\u5e76\u5c06\u8ba1\u7b97\u7ed3\u679c\u8fd4\u56de\u3002\u5426\u5219\uff0c\u8ba1\u65f6\u5668\u7ed3\u675f\uff0c\u5e76\u6e05\u7a7a\u72b6\u6001\u3002<\/p>\n

            \/** * Matches keyed START and END events and computes the difference between * both elements' timestamps. The first String field is the key attribute, * the second String attribute marks START and END events. *\/<\/span>\npublic<\/span> static<\/span> class<\/span> StartEndDuration<\/span>\n  extends<\/span> KeyedProcessFunction<\/span><<\/span>String<\/span>,<\/span> Tuple2<\/span><<\/span>String<\/span>,<\/span> String<\/span>><\/span>,<\/span> Tuple2<\/span><<\/span>String<\/span>,<\/span> Long<\/span>><\/span>><\/span><\/span> { \n   <\/span>\n\n  private<\/span> ValueState<\/span><<\/span>Long<\/span>><\/span><\/span> startTime;<\/span>\n  \n  @Override<\/span>\n  public<\/span> void<\/span> open<\/span>(<\/span>Configuration<\/span> conf)<\/span> { \n   <\/span>\n    \/\/ obtain state handle<\/span>\n    startTime =<\/span> getRuntimeContext<\/span>(<\/span>)<\/span>\n      .<\/span>getState<\/span>(<\/span>new<\/span> ValueStateDescriptor<\/span><<\/span>Long<\/span>><\/span><\/span>(<\/span>\"startTime\"<\/span>,<\/span> Long<\/span>.<\/span>class<\/span>)<\/span>)<\/span>;<\/span>\n  }<\/span>\n\n  \/** Called for each processed event. *\/<\/span>\n  @Override<\/span>\n  public<\/span> void<\/span> processElement<\/span>(<\/span>\n      Tuple2<\/span><<\/span>String<\/span>,<\/span> String<\/span>><\/span><\/span> in,<\/span>\n      Context<\/span> ctx,<\/span>\n      Collector<\/span><<\/span>Tuple2<\/span><<\/span>String<\/span>,<\/span> Long<\/span>><\/span>><\/span><\/span> out)<\/span> throws<\/span> Exception<\/span> { \n   <\/span>\n  \n      switch<\/span> (<\/span>in.<\/span>f1)<\/span> { \n   <\/span>\n        case<\/span> \"START\"<\/span>:<\/span>\n          \/\/ set the start time if we receive a start event.<\/span>\n          startTime.<\/span>update<\/span>(<\/span>ctx.<\/span>timestamp<\/span>(<\/span>)<\/span>)<\/span>;<\/span>\n          \/\/ register a timer in four hours from the start event.<\/span>\n          ctx.<\/span>timerService<\/span>(<\/span>)<\/span>\n            .<\/span>registerEventTimeTimer<\/span>(<\/span>ctx.<\/span>timestamp<\/span>(<\/span>)<\/span> +<\/span> 4<\/span> *<\/span> 60<\/span> *<\/span> 60<\/span> *<\/span> 1000<\/span>)<\/span>;<\/span>\n          break<\/span>;<\/span>\n        case<\/span> \"END\"<\/span>:<\/span>\n          \/\/ emit the duration between start and end event<\/span>\n          Long<\/span> sTime =<\/span> startTime.<\/span>value<\/span>(<\/span>)<\/span>;<\/span>\n          if<\/span> (<\/span>sTime !=<\/span> null<\/span>)<\/span> { \n   <\/span>\n            out.<\/span>collect<\/span>(<\/span>Tuple2<\/span>.<\/span>of<\/span>(<\/span>in.<\/span>f0,<\/span> ctx.<\/span>timestamp<\/span>(<\/span>)<\/span> -<\/span> sTime)<\/span>)<\/span>;<\/span>\n            \/\/ clear the state<\/span>\n            startTime.<\/span>clear<\/span>(<\/span>)<\/span>;<\/span>\n          }<\/span>\n        default<\/span>:<\/span>\n          \/\/ do nothing<\/span>\n      }<\/span>\n  }<\/span>\n\n  \/** Called when a timer fires. *\/<\/span>\n  @Override<\/span>\n  public<\/span> void<\/span> onTimer<\/span>(<\/span>\n    long<\/span> timestamp,<\/span>\n    OnTimerContext<\/span> ctx,<\/span>\n    Collector<\/span><<\/span>Tuple2<\/span><<\/span>String<\/span>,<\/span> Long<\/span>><\/span>><\/span><\/span> out)<\/span> { \n   <\/span>\n\n    \/\/ Timeout interval exceeded. Cleaning up the state.<\/span>\n    startTime.<\/span>clear<\/span>(<\/span>)<\/span>;<\/span>\n  }<\/span>\n}<\/span>\n<\/code><\/pre>\n
            2.2.2 DataStream API<\/h5>\n

            DataStream API \u4e3a\u8bb8\u591a\u901a\u7528\u7684\u6d41\u5904\u7406\u64cd\u4f5c\u63d0\u4f9b\u4e86\u5904\u7406\u539f\u8bed\u3002\u8fd9\u4e9b\u64cd\u4f5c\u5305\u62ec\u7a97\u53e3\u3001\u9010\u6761\u8bb0\u5f55\u7684\u8f6c\u6362\u64cd\u4f5c\uff0c\u5728\u5904\u7406\u4e8b\u4ef6\u65f6\u8fdb\u884c\u5916\u90e8\u6570\u636e\u5e93\u67e5\u8be2\u7b49\u3002DataStream API \u652f\u6301 Java \u548c Scala \u8bed\u8a00\uff0c\u9884\u5148\u5b9a\u4e49\u4e86\u4f8b\u5982 map()<\/code>\u3001reduce()<\/code>\u3001aggregate()<\/code> \u7b49\u51fd\u6570\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u6269\u5c55\u5b9e\u73b0\u9884\u5b9a\u4e49\u63a5\u53e3\u6216\u4f7f\u7528 Java\u3001Scala \u7684 lambda \u8868\u8fbe\u5f0f\u5b9e\u73b0\u81ea\u5b9a\u4e49\u7684\u51fd\u6570\u3002<\/p>\n

            \u4e0b\u9762\u7684\u4ee3\u7801\u793a\u4f8b\u5c55\u793a\u4e86\u5982\u4f55\u6355\u83b7\u4f1a\u8bdd\u65f6\u95f4\u8303\u56f4\u5185\u6240\u6709\u7684\u70b9\u51fb\u6d41\u4e8b\u4ef6\uff0c\u5e76\u5bf9\u6bcf\u4e00\u6b21\u4f1a\u8bdd\u7684\u70b9\u51fb\u91cf\u8fdb\u884c\u8ba1\u6570\u3002<\/p>\n

            \/\/ a stream of website clicks<\/span>\nDataStream<\/span><<\/span>Click<\/span>><\/span><\/span> clicks =<\/span> .<\/span>.<\/span>.<\/span>\n\nDataStream<\/span><<\/span>Tuple2<\/span><<\/span>String<\/span>,<\/span> Long<\/span>><\/span>><\/span><\/span> result =<\/span> clicks\n  \/\/ project clicks to userId and add a 1 for counting<\/span>\n  .<\/span>map<\/span>(<\/span>\n    \/\/ define function by implementing the MapFunction interface.<\/span>\n    new<\/span> MapFunction<\/span><<\/span>Click<\/span>,<\/span> Tuple2<\/span><<\/span>String<\/span>,<\/span> Long<\/span>><\/span>><\/span><\/span>(<\/span>)<\/span> { \n   <\/span>\n      @Override<\/span>\n      public<\/span> Tuple2<\/span><<\/span>String<\/span>,<\/span> Long<\/span>><\/span><\/span> map<\/span>(<\/span>Click<\/span> click)<\/span> { \n   <\/span>\n        return<\/span> Tuple2<\/span>.<\/span>of<\/span>(<\/span>click.<\/span>userId,<\/span> 1L<\/span>)<\/span>;<\/span>\n      }<\/span>\n    }<\/span>)<\/span>\n  \/\/ key by userId (field 0)<\/span>\n  .<\/span>keyBy<\/span>(<\/span>0<\/span>)<\/span>\n  \/\/ define session window with 30 minute gap<\/span>\n  .<\/span>window<\/span>(<\/span>EventTimeSessionWindows<\/span>.<\/span>withGap<\/span>(<\/span>Time<\/span>.<\/span>minutes<\/span>(<\/span>30L<\/span>)<\/span>)<\/span>)<\/span>\n  \/\/ count clicks per session. Define function as lambda function.<\/span>\n  .<\/span>reduce<\/span>(<\/span>(<\/span>a,<\/span> b)<\/span> -><\/span> Tuple2<\/span>.<\/span>of<\/span>(<\/span>a.<\/span>f0,<\/span> a.<\/span>f1 +<\/span> b.<\/span>f1)<\/span>)<\/span>;<\/span>\n<\/code><\/pre>\n
            2.2.3 SQL & Table API<\/h5>\n

            Flink \u652f\u6301\u4e24\u79cd\u5173\u7cfb\u578b\u7684 API\uff0cTable API \u548c SQL\u3002\u8fd9\u4e24\u4e2a API \u90fd\u662f\u6279\u5904\u7406\u548c\u6d41\u5904\u7406\u7edf\u4e00\u7684 API\uff0c\u8fd9\u610f\u5473\u7740\u5728\u65e0\u8fb9\u754c\u7684\u5b9e\u65f6\u6570\u636e\u6d41\u548c\u6709\u8fb9\u754c\u7684\u5386\u53f2\u8bb0\u5f55\u6570\u636e\u6d41\u4e0a\uff0c\u5173\u7cfb\u578b API \u4f1a\u4ee5\u76f8\u540c\u7684\u8bed\u4e49\u6267\u884c\u67e5\u8be2\uff0c\u5e76\u4ea7\u751f\u76f8\u540c\u7684\u7ed3\u679c\u3002Table API \u548c SQL \u501f\u52a9\u4e86 Apache Calcite \u6765\u8fdb\u884c\u67e5\u8be2\u7684\u89e3\u6790\uff0c\u6821\u9a8c\u4ee5\u53ca\u4f18\u5316\u3002\u5b83\u4eec\u53ef\u4ee5\u4e0e DataStream \u548c DataSet API \u65e0\u7f1d\u96c6\u6210\uff0c\u5e76\u652f\u6301\u7528\u6237\u81ea\u5b9a\u4e49\u7684\u6807\u91cf\u51fd\u6570\uff0c\u805a\u5408\u51fd\u6570\u4ee5\u53ca\u8868\u503c\u51fd\u6570\u3002<\/p>\n

            Flink \u7684\u5173\u7cfb\u578b API \u65e8\u5728\u7b80\u5316\u6570\u636e\u5206\u6790\u3001\u6570\u636e\u6d41\u6c34\u7ebf\u548c ETL \u5e94\u7528\u7684\u5b9a\u4e49\u3002<\/p>\n

            \u4e0b\u9762\u7684\u4ee3\u7801\u793a\u4f8b\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528 SQL \u8bed\u53e5\u67e5\u8be2\u6355\u83b7\u4f1a\u8bdd\u65f6\u95f4\u8303\u56f4\u5185\u6240\u6709\u7684\u70b9\u51fb\u6d41\u4e8b\u4ef6\uff0c\u5e76\u5bf9\u6bcf\u4e00\u6b21\u4f1a\u8bdd\u7684\u70b9\u51fb\u91cf\u8fdb\u884c\u8ba1\u6570\u3002\u6b64\u793a\u4f8b\u4e0e\u4e0a\u8ff0 DataStream API \u4e2d\u7684\u793a\u4f8b\u6709\u7740\u76f8\u540c\u7684\u903b\u8f91\u3002<\/p>\n

            SELECT<\/span> userId,<\/span> COUNT<\/span>(<\/span>*<\/span>)<\/span>\nFROM<\/span> clicks\nGROUP<\/span> BY<\/span> SESSION<\/span>(<\/span>clicktime,<\/span> INTERVAL<\/span> '30'<\/span> MINUTE<\/span>)<\/span>,<\/span> userId\n<\/code><\/pre>\n

            2.3 \u5e93<\/h4>\n

            Flink \u5177\u6709\u6570\u4e2a\u9002\u7528\u4e8e\u5e38\u89c1\u6570\u636e\u5904\u7406\u5e94\u7528\u573a\u666f\u7684\u6269\u5c55\u5e93\u3002\u8fd9\u4e9b\u5e93\u901a\u5e38\u5d4c\u5165\u5728 API \u4e2d\uff0c\u4e14\u5e76\u4e0d\u5b8c\u5168\u72ec\u7acb\u4e8e\u5176\u5b83 API\u3002\u5b83\u4eec\u4e5f\u56e0\u6b64\u53ef\u4ee5\u53d7\u76ca\u4e8e API \u7684\u6240\u6709\u7279\u6027\uff0c\u5e76\u4e0e\u5176\u4ed6\u5e93\u96c6\u6210\u3002<\/p>\n

              \n
            • \u590d\u6742\u4e8b\u4ef6\u5904\u7406\uff08CEP\uff09<\/strong><\/font>\uff1a\u6a21\u5f0f\u68c0\u6d4b\u662f\u4e8b\u4ef6\u6d41\u5904\u7406\u4e2d\u7684\u4e00\u4e2a\u975e\u5e38\u5e38\u89c1\u7684\u7528\u4f8b\u3002Flink \u7684 CEP \u5e93\u63d0\u4f9b\u4e86 API\uff0c\u4f7f\u7528\u6237\u80fd\u591f\u4ee5\u4f8b\u5982\u6b63\u5219\u8868\u8fbe\u5f0f\u6216\u72b6\u6001\u673a\u7684\u65b9\u5f0f\u6307\u5b9a\u4e8b\u4ef6\u6a21\u5f0f\u3002CEP \u5e93\u4e0e Flink \u7684 DataStream API \u96c6\u6210\uff0c\u4ee5\u4fbf\u5728 DataStream \u4e0a\u8bc4\u4f30\u6a21\u5f0f\u3002CEP \u5e93\u7684\u5e94\u7528\u5305\u62ec \u7f51\u7edc\u5165\u4fb5\u68c0\u6d4b<\/strong>\uff0c\u4e1a\u52a1\u6d41\u7a0b\u76d1\u63a7<\/strong> \u548c \u6b3a\u8bc8\u68c0\u6d4b<\/strong>\u3002<\/li>\n
            • DataSet API<\/strong><\/font>\uff1aDataSet API \u662f Flink \u7528\u4e8e\u6279\u5904\u7406\u5e94\u7528\u7a0b\u5e8f\u7684\u6838\u5fc3 API\u3002DataSet API \u6240\u63d0\u4f9b\u7684\u57fa\u7840\u7b97\u5b50\u5305\u62ec map<\/code>\u3001reduce<\/code>\u3001(outer) join<\/code>\u3001co-group<\/code>\u3001iterate<\/code> \u7b49\u3002\u6240\u6709\u7b97\u5b50\u90fd\u6709\u76f8\u5e94\u7684\u7b97\u6cd5\u548c\u6570\u636e\u7ed3\u6784\u652f\u6301\uff0c\u5bf9\u5185\u5b58\u4e2d\u7684\u5e8f\u5217\u5316\u6570\u636e\u8fdb\u884c\u64cd\u4f5c\u3002\u5982\u679c\u6570\u636e\u5927\u5c0f\u8d85\u8fc7\u9884\u7559\u5185\u5b58\uff0c\u5219\u8fc7\u91cf\u6570\u636e\u5c06\u5b58\u50a8\u5230\u78c1\u76d8\u3002Flink \u7684 DataSet API \u7684\u6570\u636e\u5904\u7406\u7b97\u6cd5\u501f\u9274\u4e86\u4f20\u7edf\u6570\u636e\u5e93\u7b97\u6cd5\u7684\u5b9e\u73b0\uff0c\u4f8b\u5982\u6df7\u5408\u6563\u5217\u8fde\u63a5\uff08hybrid hash-join<\/code>\uff09\u548c\u5916\u90e8\u5f52\u5e76\u6392\u5e8f\uff08external merge-sort<\/code>\uff09\u3002<\/li>\n
            • Gelly<\/strong><\/font>\uff1aGelly \u662f\u4e00\u4e2a\u53ef\u6269\u5c55\u7684\u56fe\u5f62\u5904\u7406\u548c\u5206\u6790\u5e93\u3002Gelly \u662f\u5728 DataSet API \u4e4b\u4e0a\u5b9e\u73b0\u7684\uff0c\u5e76\u4e0e DataSet API \u96c6\u6210\u3002\u56e0\u6b64\uff0c\u5b83\u80fd\u591f\u53d7\u76ca\u4e8e\u5176\u53ef\u6269\u5c55\u4e14\u5065\u58ee\u7684\u64cd\u4f5c\u7b26\u3002Gelly \u63d0\u4f9b\u4e86\u5185\u7f6e\u7b97\u6cd5 \uff0c\u5982 label propagation<\/code>\u3001triangle enumeration<\/code> \u548c page rank<\/code> \u7b97\u6cd5\uff0c\u4e5f\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7b80\u5316\u81ea\u5b9a\u4e49\u56fe\u7b97\u6cd5\u5b9e\u73b0\u7684 Graph API \u3002<\/li>\n<\/ul>\n

              3.\u8fd0\u7ef4<\/h3>\n

              Apache Flink \u662f\u4e00\u4e2a\u9488\u5bf9\u65e0\u754c\u548c\u6709\u754c\u6570\u636e\u6d41\u8fdb\u884c\u6709\u72b6\u6001\u8ba1\u7b97\u7684\u6846\u67b6\u3002\u7531\u4e8e\u8bb8\u591a\u6d41\u5e94\u7528\u7a0b\u5e8f\u65e8\u5728\u4ee5\u6700\u77ed\u7684\u505c\u673a\u65f6\u95f4\u8fde\u7eed\u8fd0\u884c\uff0c\u56e0\u6b64\u6d41\u5904\u7406\u5668\u5fc5\u987b\u63d0\u4f9b\u51fa\u8272\u7684\u6545\u969c\u6062\u590d\u80fd\u529b\uff0c\u4ee5\u53ca\u5728\u5e94\u7528\u7a0b\u5e8f\u8fd0\u884c\u671f\u95f4\u8fdb\u884c\u76d1\u63a7\u548c\u7ef4\u62a4\u7684\u5de5\u5177\u3002<\/p>\n

              Apache Flink \u975e\u5e38\u6ce8\u91cd\u6d41\u6570\u636e\u5904\u7406\u7684\u53ef\u8fd0\u7ef4\u6027\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd Flink \u7684\u6545\u969c\u6062\u590d\u673a\u5236\uff0c\u5e76\u4ecb\u7ecd\u5176\u7ba1\u7406\u548c\u76d1\u63a7\u5e94\u7528\u7684\u529f\u80fd\u3002<\/p>\n

              3.1 7 \u00d7 24\u5c0f\u65f6\u7a33\u5b9a\u8fd0\u884c<\/h4>\n

              \u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\uff0c\u670d\u52a1\u6545\u969c\u662f\u5e38\u6709\u7684\u4e8b\uff0c\u4e3a\u4e86\u4fdd\u8bc1\u670d\u52a1\u80fd\u591f 7 \u2217 24 7*24 <\/span><\/span>7<\/span><\/span>\u2217<\/span><\/span><\/span><\/span>24<\/span><\/span><\/span><\/span><\/span> \u5c0f\u65f6\u7a33\u5b9a\u8fd0\u884c\uff0c\u50cf Flink \u8fd9\u6837\u7684\u6d41\u5904\u7406\u5668\u6545\u969c\u6062\u590d\u673a\u5236\u662f\u5fc5\u987b\u8981\u6709\u7684\u3002\u663e\u7136\u8fd9\u5c31\u610f\u5473\u7740\uff0c\u5b83\uff08\u8fd9\u7c7b\u6d41\u5904\u7406\u5668\uff09\u4e0d\u4ec5\u8981\u80fd\u5728\u670d\u52a1\u51fa\u73b0\u6545\u969c\u65f6\u5019\u80fd\u591f\u91cd\u542f\u670d\u52a1\uff0c\u800c\u4e14\u8fd8\u8981\u5f53\u6545\u969c\u53d1\u751f\u65f6\uff0c\u4fdd\u8bc1\u80fd\u591f\u6301\u4e45\u5316\u670d\u52a1\u5185\u90e8\u5404\u4e2a\u7ec4\u4ef6\u7684\u5f53\u524d\u72b6\u6001\uff0c\u53ea\u6709\u8fd9\u6837\u624d\u80fd\u4fdd\u8bc1\u5728\u6545\u969c\u6062\u590d\u65f6\u5019\uff0c\u670d\u52a1\u80fd\u591f\u7ee7\u7eed\u6b63\u5e38\u8fd0\u884c\uff0c\u597d\u50cf\u6545\u969c\u5c31\u6ca1\u6709\u53d1\u751f\u8fc7\u4e00\u6837\u3002<\/p>\n

              Flink \u901a\u8fc7\u51e0\u4e0b\u591a\u79cd\u673a\u5236\u7ef4\u62a4\u5e94\u7528\u53ef\u6301\u7eed\u8fd0\u884c\u53ca\u5176\u4e00\u81f4\u6027:<\/p>\n

                \n
              • \u68c0\u67e5\u70b9\u7684\u4e00\u81f4\u6027<\/strong><\/font>\uff1aFlink \u7684\u6545\u969c\u6062\u590d\u673a\u5236\u662f\u901a\u8fc7\u5efa\u7acb\u5206\u5e03\u5f0f\u5e94\u7528\u670d\u52a1\u72b6\u6001\u4e00\u81f4\u6027\u68c0\u67e5\u70b9\u5b9e\u73b0\u7684\uff0c\u5f53\u6709\u6545\u969c\u4ea7\u751f\u65f6\uff0c\u5e94\u7528\u670d\u52a1\u4f1a\u91cd\u542f\u540e\uff0c\u518d\u91cd\u65b0\u52a0\u8f7d\u4e0a\u4e00\u6b21\u6210\u529f\u5907\u4efd\u7684\u72b6\u6001\u68c0\u67e5\u70b9\u4fe1\u606f\u3002\u7ed3\u5408\u53ef\u91cd\u653e\u7684\u6570\u636e\u6e90\uff0c\u8be5\u7279\u6027\u53ef\u4fdd\u8bc1 \u7cbe\u786e\u4e00\u6b21\uff08exactly-once\uff09<\/strong> \u7684\u72b6\u6001\u4e00\u81f4\u6027\u3002<\/li>\n
              • \u9ad8\u6548\u7684\u68c0\u67e5\u70b9<\/strong><\/font>\uff1a\u5982\u679c\u4e00\u4e2a\u5e94\u7528\u8981\u7ef4\u62a4\u4e00\u4e2a TB \u7ea7\u7684\u72b6\u6001\u4fe1\u606f\uff0c\u5bf9\u6b64\u5e94\u7528\u7684\u72b6\u6001\u5efa\u7acb\u68c0\u67e5\u70b9\u670d\u52a1\u7684\u8d44\u6e90\u5f00\u9500\u662f\u5f88\u9ad8\u7684\uff0c\u4e3a\u4e86\u51cf\u5c0f\u56e0\u68c0\u67e5\u70b9\u670d\u52a1\u5bf9\u5e94\u7528\u7684\u5ef6\u8fdf\u6027\uff08SLAs \u670d\u52a1\u7b49\u7ea7\u534f\u8bae\uff09\u7684\u5f71\u54cd\uff0cFlink \u91c7\u7528\u5f02\u6b65\u53ca\u589e\u91cf\u7684\u65b9\u5f0f\u6784\u5efa\u68c0\u67e5\u70b9\u670d\u52a1\u3002<\/li>\n
              • \u7aef\u5230\u7aef\u7684\u7cbe\u786e\u4e00\u6b21<\/strong><\/font>\uff1aFlink \u4e3a\u67d0\u4e9b\u7279\u5b9a\u7684\u5b58\u50a8\u652f\u6301\u4e86\u4e8b\u52a1\u578b\u8f93\u51fa\u7684\u529f\u80fd\uff0c\u53ca\u65f6\u5728\u53d1\u751f\u6545\u969c\u7684\u60c5\u51b5\u4e0b\uff0c\u4e5f\u80fd\u591f\u4fdd\u8bc1\u7cbe\u786e\u4e00\u6b21\u7684\u8f93\u51fa\u3002<\/li>\n
              • \u96c6\u6210\u591a\u79cd\u96c6\u7fa4\u7ba1\u7406\u670d\u52a1<\/strong><\/font>\uff1aFlink \u5df2\u4e0e\u591a\u79cd\u96c6\u7fa4\u7ba1\u7406\u670d\u52a1\u7d27\u5bc6\u96c6\u6210\uff0c\u5982 Hadoop YARN<\/strong>\uff0cMesos<\/strong>\uff0c\u4ee5\u53ca Kubernetes<\/strong>\u3002\u5f53\u96c6\u7fa4\u4e2d\u67d0\u4e2a\u6d41\u7a0b\u4efb\u52a1\u5931\u8d25\u540e\uff0c\u4e00\u4e2a\u65b0\u7684\u6d41\u7a0b\u670d\u52a1\u4f1a\u81ea\u52a8\u542f\u52a8\u5e76\u66ff\u4ee3\u5b83\u7ee7\u7eed\u6267\u884c\u3002<\/li>\n
              • \u5185\u7f6e\u9ad8\u53ef\u7528\u670d\u52a1<\/strong><\/font>\uff1aFlink \u5185\u7f6e\u4e86\u4e3a\u89e3\u51b3\u5355\u70b9\u6545\u969c\u95ee\u9898\u7684\u9ad8\u53ef\u7528\u6027\u670d\u52a1\u6a21\u5757\uff0c\u6b64\u6a21\u5757\u662f\u57fa\u4e8e Apache ZooKeeper<\/strong> \u6280\u672f\u5b9e\u73b0\u7684\uff0cApache ZooKeeper \u662f\u4e00\u79cd\u53ef\u9760\u7684\u3001\u4ea4\u4e92\u5f0f\u7684\u3001\u5206\u5e03\u5f0f\u534f\u8c03\u670d\u52a1\u7ec4\u4ef6\u3002<\/li>\n<\/ul>\n

                3.2 Flink \u80fd\u591f\u66f4\u65b9\u4fbf\u5730\u5347\u7ea7\u3001\u8fc1\u79fb\u3001\u6682\u505c\u3001\u6062\u590d\u5e94\u7528\u670d\u52a1<\/h4>\n

                \u9a71\u52a8\u5173\u952e\u4e1a\u52a1\u670d\u52a1\u7684\u6d41\u5e94\u7528\u662f\u7ecf\u5e38\u9700\u8981\u7ef4\u62a4\u7684\u3002\u6bd4\u5982\u9700\u8981\u4fee\u590d\u7cfb\u7edf\u6f0f\u6d1e\uff0c\u6539\u8fdb\u529f\u80fd\uff0c\u6216\u5f00\u53d1\u65b0\u529f\u80fd\u3002\u7136\u800c\u5347\u7ea7\u4e00\u4e2a\u6709\u72b6\u6001\u7684\u6d41\u5e94\u7528\u5e76\u4e0d\u662f\u7b80\u5355\u7684\u4e8b\u60c5\uff0c\u56e0\u4e3a\u5728\u6211\u4eec\u4e3a\u4e86\u5347\u7ea7\u4e00\u4e2a\u6539\u8fdb\u540e\u7248\u672c\u800c\u7b80\u5355\u505c\u6b62\u5f53\u524d\u6d41\u5e94\u7528\u5e76\u91cd\u542f\u65f6\uff0c\u6211\u4eec\u8fd8\u4e0d\u80fd\u4e22\u5931\u6389\u5f53\u524d\u6d41\u5e94\u7528\u7684\u6240\u5904\u4e8e\u7684\u72b6\u6001\u4fe1\u606f\u3002<\/p>\n

                \u800c Flink \u7684 Savepoint \u670d\u52a1\u5c31\u662f\u4e3a\u89e3\u51b3\u5347\u7ea7\u670d\u52a1\u8fc7\u7a0b\u4e2d\u8bb0\u5f55\u6d41\u5e94\u7528\u72b6\u6001\u4fe1\u606f\u53ca\u5176\u76f8\u5173\u96be\u9898\u800c\u4ea7\u751f\u7684\u4e00\u79cd\u552f\u4e00\u7684\u3001\u5f3a\u5927\u7684\u7ec4\u4ef6\u3002\u4e00\u4e2a Savepoint\uff0c\u5c31\u662f\u4e00\u4e2a\u5e94\u7528\u670d\u52a1\u72b6\u6001\u7684\u4e00\u81f4\u6027\u5feb\u7167\uff0c\u56e0\u6b64\u5176\u4e0e checkpoint \u7ec4\u4ef6\u7684\u5f88\u76f8\u4f3c\uff0c\u4f46\u662f\u4e0e checkpoint \u76f8\u6bd4\uff0cSavepoint \u9700\u8981\u624b\u52a8\u89e6\u53d1\u542f\u52a8\uff0c\u800c\u4e14\u5f53\u6d41\u5e94\u7528\u670d\u52a1\u505c\u6b62\u65f6\uff0c\u5b83\u5e76\u4e0d\u4f1a\u81ea\u52a8\u5220\u9664\u3002Savepoint \u5e38\u88ab\u5e94\u7528\u4e8e\u542f\u52a8\u4e00\u4e2a\u5df2\u542b\u6709\u72b6\u6001\u7684\u6d41\u670d\u52a1\uff0c\u5e76\u521d\u59cb\u5316\u5176\uff08\u5907\u4efd\u65f6\uff09\u72b6\u6001\u3002Savepoint \u6709\u4ee5\u4e0b\u7279\u70b9\uff1a<\/p>\n

                  \n
                • \u4fbf\u4e8e\u5347\u7ea7\u5e94\u7528\u670d\u52a1\u7248\u672c<\/strong><\/font>\uff1aSavepoint \u5e38\u5728\u5e94\u7528\u7248\u672c\u5347\u7ea7\u65f6\u4f7f\u7528\uff0c\u5f53\u524d\u5e94\u7528\u7684\u65b0\u7248\u672c\u66f4\u65b0\u5347\u7ea7\u65f6\uff0c\u53ef\u4ee5\u6839\u636e\u4e0a\u4e00\u4e2a\u7248\u672c\u7a0b\u5e8f\u8bb0\u5f55\u7684 Savepoint \u5185\u7684\u670d\u52a1\u72b6\u6001\u4fe1\u606f\u6765\u91cd\u542f\u670d\u52a1\u3002\u5b83\u4e5f\u53ef\u80fd\u4f1a\u4f7f\u7528\u66f4\u65e9\u7684 Savepoint \u8fd8\u539f\u70b9\u6765\u91cd\u542f\u670d\u52a1\uff0c\u4ee5\u4fbf\u4e8e\u4fee\u590d\u7531\u4e8e\u6709\u7f3a\u9677\u7684\u7a0b\u5e8f\u7248\u672c\u5bfc\u81f4\u7684\u4e0d\u6b63\u786e\u7684\u7a0b\u5e8f\u8fd0\u884c\u7ed3\u679c\u3002<\/li>\n
                • \u65b9\u4fbf\u96c6\u7fa4\u670d\u52a1\u79fb\u690d<\/strong><\/font>\uff1a\u901a\u8fc7\u4f7f\u7528 Savepoint\uff0c\u6d41\u670d\u52a1\u5e94\u7528\u53ef\u4ee5\u81ea\u7531\u7684\u5728\u4e0d\u540c\u96c6\u7fa4\u4e2d\u8fc1\u79fb\u90e8\u7f72\u3002<\/li>\n
                • \u65b9\u4fbf Flink \u7248\u672c\u5347\u7ea7<\/strong><\/font>\uff1a\u901a\u8fc7\u4f7f\u7528 Savepoint\uff0c\u53ef\u4ee5\u4f7f\u5e94\u7528\u670d\u52a1\u5728\u5347\u7ea7 Flink \u65f6\uff0c\u66f4\u52a0\u5b89\u5168\u4fbf\u6377\u3002<\/li>\n
                • \u589e\u52a0\u5e94\u7528\u5e76\u884c\u670d\u52a1\u7684\u6269\u5c55\u6027<\/strong><\/font>\uff1aSavepoint \u4e5f\u5e38\u5728\u589e\u52a0\u6216\u51cf\u5c11\u5e94\u7528\u670d\u52a1\u96c6\u7fa4\u7684\u5e76\u884c\u5ea6\u65f6\u4f7f\u7528\u3002<\/li>\n
                • \u4fbf\u4e8e A\/B \u6d4b\u8bd5\u53ca\u5047\u8bbe\u5206\u6790\u573a\u666f\u5bf9\u6bd4\u7ed3\u679c<\/strong><\/font>\uff1a\u901a\u8fc7\u628a\u540c\u4e00\u5e94\u7528\u5728\u4f7f\u7528\u4e0d\u540c\u7248\u672c\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u57fa\u4e8e\u540c\u4e00\u4e2a Savepoint \u8fd8\u539f\u70b9\u542f\u52a8\u670d\u52a1\u65f6\uff0c\u53ef\u4ee5\u6d4b\u8bd5\u5bf9\u6bd4 2 2 <\/span><\/span>2<\/span><\/span><\/span><\/span><\/span> \u4e2a\u6216\u591a\u4e2a\u7248\u672c\u7a0b\u5e8f\u7684\u6027\u80fd\u53ca\u670d\u52a1\u8d28\u91cf\u3002<\/li>\n
                • \u6682\u505c\u548c\u6062\u590d\u670d\u52a1<\/strong><\/font>\uff1a\u4e00\u4e2a\u5e94\u7528\u670d\u52a1\u53ef\u4ee5\u5728\u65b0\u5efa\u4e00\u4e2a Savepoint \u540e\u518d\u505c\u6b62\u670d\u52a1\uff0c\u4ee5\u4fbf\u4e8e\u540e\u9762\u4efb\u4f55\u65f6\u95f4\u70b9\u518d\u6839\u636e\u8fd9\u4e2a\u5b9e\u65f6\u5237\u65b0\u7684 Savepoint \u8fd8\u539f\u70b9\u8fdb\u884c\u6062\u590d\u670d\u52a1\u3002<\/li>\n
                • \u5f52\u6863\u670d\u52a1<\/strong><\/font>\uff1aSavepoint \u8fd8\u63d0\u4f9b\u8fd8\u539f\u70b9\u7684\u5f52\u6863\u670d\u52a1\uff0c\u4ee5\u4fbf\u4e8e\u7528\u6237\u80fd\u591f\u6307\u5b9a\u65f6\u95f4\u70b9\u7684 Savepoint \u7684\u670d\u52a1\u6570\u636e\u8fdb\u884c\u91cd\u7f6e\u5e94\u7528\u670d\u52a1\u7684\u72b6\u6001\uff0c\u8fdb\u884c\u6062\u590d\u670d\u52a1\u3002<\/li>\n<\/ul>\n

                  3.3 \u76d1\u63a7\u548c\u63a7\u5236\u5e94\u7528\u670d\u52a1<\/h4>\n

                  \u5982\u5176\u5b83\u5e94\u7528\u670d\u52a1\u4e00\u6837\uff0c\u6301\u7eed\u8fd0\u884c\u7684\u6d41\u5e94\u7528\u670d\u52a1\u4e5f\u9700\u8981\u76d1\u63a7\u53ca\u96c6\u6210\u5230\u4e00\u4e9b\u57fa\u7840\u8bbe\u65bd\u8d44\u6e90\u7ba1\u7406\u670d\u52a1\u4e2d\uff0c\u4f8b\u5982\u4e00\u4e2a\u7ec4\u4ef6\u7684\u76d1\u63a7\u670d\u52a1\u53ca\u65e5\u5fd7\u670d\u52a1\u7b49\u3002\u76d1\u63a7\u670d\u52a1\u6709\u52a9\u4e8e\u9884\u6d4b\u95ee\u9898\u5e76\u63d0\u524d\u505a\u51fa\u53cd\u5e94\uff0c\u65e5\u5fd7\u670d\u52a1\u63d0\u4f9b\u65e5\u5fd7\u8bb0\u5f55\u80fd\u591f\u5e2e\u52a9\u8ffd\u8e2a\u3001\u8c03\u67e5\u3001\u5206\u6790\u6545\u969c\u53d1\u751f\u7684\u6839\u672c\u539f\u56e0\u3002\u6700\u540e\uff0c\u4fbf\u6377\u6613\u7528\u7684\u8bbf\u95ee\u63a7\u5236\u5e94\u7528\u670d\u52a1\u8fd0\u884c\u7684\u63a5\u53e3\u4e5f\u662f Flink \u7684\u4e00\u4e2a\u91cd\u8981\u7684\u4eae\u70b9\u7279\u5f81\u3002<\/p>\n

                  Flink \u4e0e\u8bb8\u591a\u5e38\u89c1\u7684\u65e5\u5fd7\u8bb0\u5f55\u548c\u76d1\u89c6\u670d\u52a1\u96c6\u6210\u5f97\u5f88\u597d\uff0c\u5e76\u63d0\u4f9b\u4e86\u4e00\u4e2a REST API \u6765\u63a7\u5236\u5e94\u7528\u670d\u52a1\u548c\u67e5\u8be2\u5e94\u7528\u4fe1\u606f\u3002\u5177\u4f53\u8868\u73b0\u5982\u4e0b\uff1a<\/p>\n

                    \n
                  • Web UI \u65b9\u5f0f<\/strong><\/font>\uff1aFlink \u63d0\u4f9b\u4e86\u4e00\u4e2a Web UI \u6765\u89c2\u5bdf\u3001\u76d1\u89c6\u548c\u8c03\u8bd5\u6b63\u5728\u8fd0\u884c\u7684\u5e94\u7528\u670d\u52a1\u3002\u5e76\u4e14\u8fd8\u53ef\u4ee5\u6267\u884c\u6216\u53d6\u6d88\u7ec4\u4ef6\u6216\u4efb\u52a1\u7684\u6267\u884c\u3002<\/li>\n
                  • \u65e5\u5fd7\u96c6\u6210\u670d\u52a1<\/strong><\/font>\uff1aFlink \u5b9e\u73b0\u4e86\u6d41\u884c\u7684 slf4j \u65e5\u5fd7\u63a5\u53e3\uff0c\u5e76\u4e0e\u65e5\u5fd7\u6846\u67b6 log4j \u6216 logback \u96c6\u6210\u3002<\/li>\n
                  • \u6307\u6807\u670d\u52a1<\/strong><\/font>\uff1aFlink \u63d0\u4f9b\u4e86\u4e00\u4e2a\u590d\u6742\u7684\u5ea6\u91cf\u7cfb\u7edf\u6765\u6536\u96c6\u548c\u62a5\u544a\u7cfb\u7edf\u548c\u7528\u6237\u5b9a\u4e49\u7684\u5ea6\u91cf\u6307\u6807\u4fe1\u606f\u3002\u5ea6\u91cf\u4fe1\u606f\u53ef\u4ee5\u5bfc\u51fa\u5230\u591a\u4e2a\u62a5\u8868\u7ec4\u4ef6\u670d\u52a1\uff0c\u5305\u62ec JMX\uff0cGanglia\uff0cGraphite\uff0cPrometheus\uff0cStatsD\uff0cDatadog \u548c Slf4j\u3002<\/li>\n
                  • \u6807\u51c6\u7684 WEB REST API \u63a5\u53e3\u670d\u52a1<\/strong><\/font>\uff1aFlink \u63d0\u4f9b\u591a\u79cd REST API \u63a5\u53e3\uff0c\u6709\u63d0\u4ea4\u65b0\u5e94\u7528\u7a0b\u5e8f\u3001\u83b7\u53d6\u6b63\u5728\u8fd0\u884c\u7684\u5e94\u7528\u7a0b\u5e8f\u7684 Savepoint \u670d\u52a1\u4fe1\u606f\u3001\u53d6\u6d88\u5e94\u7528\u670d\u52a1\u7b49\u63a5\u53e3\u3002REST API \u8fd8\u63d0\u4f9b\u5143\u6570\u636e\u4fe1\u606f\u548c\u5df2\u91c7\u96c6\u7684\u8fd0\u884c\u4e2d\u6216\u5b8c\u6210\u540e\u7684\u5e94\u7528\u670d\u52a1\u7684\u6307\u6807\u4fe1\u606f\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"flink\u5b9e\u65f6\u5927\u6570\u636e\u5206\u6790_flink\u6d41\u5f0f\u5904\u7406\u7684\u539f\u7406ApacheFlink\u662f\u4e00\u4e2a\u6846\u67b6\u548c\u5206\u5e03\u5f0f\u5904\u7406\u5f15\u64ce\uff0c\u7528\u4e8e\u5728\u65e0\u8fb9\u754c\u548c\u6709\u8fb9\u754c\u6570\u636e\u6d41\u4e0a\u8fdb\u884c\u6709\u72b6\u6001...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8598"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8598"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8598\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}