ã¯ããã« ã¹ããªã¼ã å¦çã®ä¸ã§ãå¦çãstatefulã«ããããã¨ããè¦æ±ã¯ãããããä¾ãã°ã1æéã®time windowã§ä»¶æ°ãéè¨ãã¦ããå ´åãã¹ããªã¼ã ãæµããã«ã¤ãã¦å é¨ã§ä¿æãã¦ããã«ã¦ã³ã¿ã¯å¢å ãã¦ãã. ããã¦ãé害çã§åèµ·åãããæã¨ãã«ã¯ããã®ã«ã¦ã³ã¿ã®å¤ãä¸ç·ã«å¾©æ§ããã. Flinkã«ãããstateã®ä¿å ããã«å¯¾ãã¦ãApache Flinkã¯å®æçã«å¦çç¶æ ã®ã¹ãããã·ã§ãããåå¾ãããã¨ããæ¹æ³ã§å¯¾å¿ãã¦ãã. ããã¦ãåæ£ç°å¢ã§ã¾ã¨ãã«å ¨ã¦ã®ã¹ãããã·ã§ãããåãã®ã¯è¾ãã®ã§ãåæ£ãã¦ã¹ãããã·ã§ãããåãããã«ãã¦ãã. å ·ä½çã«ã¯ãã ã«è©³ããããã¹ããªã¼ã ã®ã½ã¼ã¹ããå®æçã«Barrierã¨å¼ã°ããå°ãæµãã¦ãåãªãã¬ã¼ã¿ã¯ãããåãåãã¨ã¹ãããã·ã§ãããä¿åããããã«ãªã£ã¦ãã. ãããããã¨ã§ãå¦çå ¨ä½ãæ¢ããã«ä¸è²«æ§ã®ããã¹ãããã·ã§ãããå
ãã°ããApache Flinkã試ãã¦ã¿ãã®ã§ãææ³ãæ¸ãã¦ãããã¨æã. 試ããã㨠standalone modeã§ã®ã¯ã©ã¹ã¿æ§ç¯ ã¹ããªã¼ãã³ã°ã¸ã§ããæ¸ãã¦ã¿ã TumblingTimeWindowãSlidingTimeWindowã§ã®éè¨ Kafka Sourceã¨Elasticsearch Sinkã®å©ç¨ å¿ è¦ã ã£ãã®ã§ãã«ã¹ã¿ã ããªã¬ã¯æ¸ãã å¹¾ã¤ãã®ã¸ã§ãã§æ§è½æ¸¬å® 社å ã®æ¬çªfluentdããKafkaçµç±ã§Flinkã«ã¹ããªã¼ã ãæå ¥ããã¸ã§ããåæ°æ¥ãããé£ç¶ç¨¼åãã¦ã¿ã state backendãHDFSãRocksDBã«ãã¦ã¿ã JobManager HA TaskManagerãJobManagerãè½ã¨ãã¦ã¿ã Flink on YARN (ã¸ã§ããèµ·åãã¦ã¿ãã ã) 試ãã¦ãªãã㨠DataSet APIã®å©ç¨ savepoint, savepoint
å æ¥ã®çºè¡¨ã§ãApache Flinkãå°å ¥ããã«è³ã£ãçµç·¯ã話ããã®ã ãã©ãå ·ä½çãªæ§æã¨ãã«ã¯è§¦ããããªãã£ãã®ã§æ¸ãã¦ããã ã¯ã©ã¹ã¿ã®æ§æã«ã¤ã㦠ä»éç¨ãã¦ãFlinkã¯ã©ã¹ã¿ã¯ï¼ã¤ããµã¼ãã¹ã§ä½¿ãããã®ãã¼ã¿ãçæãã¦ãããã®ã¨ã社å ã®ã¬ãã¼ãã£ã³ã°ãã¢ãã¿ãªã³ã°ã§ä½¿ã£ã¦ãããã®ãåè ã®æ¹ã¯å®å®æ§éè¦ãå¾è ã¯å²ã¨ã«ã¸ã¥ã¢ã«ã«ã¸ã§ãã追å ããããæ§æãå¼ã£ããã§ãããã®ãã¨ããæãã«ãªã£ã¦ãã. Flinkã¨ãã¦ã¯ãã¯ã©ã¹ã¿ã®ãããã¤ã¡ã³ãæ¹å¼ã¨ãã¦ãç¬ç«ããdaemonã¨ãã¦åããæ¹æ³ã¨ãYARNã®ä¸ã§åããæ¹æ³ãããã®ã ãã©ãåè ã®æ¹æ³ã«ãã¦ãã. ãã®æ¹ãéç¨ä¸ãããããããããã¬ã¤ã¤ãå°ãªãåãã©ãã«ãå°ãªãã ãããã¨ããã®ãçç±. ã©ã¡ããç©çãµã¼ãã§ãTaskManagerãµã¼ãã¯åè ã3å°ãå¾è ã10å°ã«ãªã£ã¦ãã. Flinkã®ãã¼ã¸ã§ã³ã¯ãããã1.0.3ã¨1.
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}