ãã®èšäºã§ã¯ã MQTTã§å©çšå¯èœãªãµãã¹ã¯ãªãã·ã§ã³ ãªãã·ã§ã³ãšãã®äœ¿çšæ³ã調ã¹ãããšã«è©³ãã説æããŸãã
ãã®èšäºã§ã¯ã MQTTã§å©çšå¯èœãªãµãã¹ã¯ãªãã·ã§ã³ ãªãã·ã§ã³ãšãã®äœ¿çšæ³ã調ã¹ãããšã«è©³ãã説æããŸãã
Mosquitto MQTT Brokerã¯ã2009 幎㫠Roger Light ã«ãã£ãŠæåã«éçºãããåŸã« Eclipse Foundation ã«å¯ä»ãããŸãããããã¯ããããæåã®ãªãŒãã³ãœãŒã¹ MQTT ãããžã§ã¯ãã§ããã
Will Messageã¯ãMQTTã®éèŠãªæ©èœã§ãã¯ã©ã€ã¢ã³ãããªãã©ã€ã³ã«ãªã£ãããšããµãŒããŒã ããç¥ãåé¡ã解決ããŸããããã«ãããäºæãããªãã©ã€ã³ã«ãªã£ãã¯ã©ã€ã¢ã³ãã«å¯ŸããŠãé©åãªãã©ããŒã¢ããã¢ã¯ã·ã§ã³ãåãããšãã§ããŸãã
MQTTã® Reason Code ã®äž»ãªç®çã¯ããã詳现ãªãã£ãŒãããã¯ãã¯ã©ã€ã¢ã³ããšãµãŒããŒã«æäŸããããšã§ãã
ãã®ã·ãªãŒãºã¯ãæœåšçãªè åšãæ»æããã·ã¹ãã ãä¿è·ããããã®è²ŽéãªæŽå¯ãæäŸãããããMQTT ããŒã¹ã® IoT ãœãªã¥ãŒã·ã§ã³ã«åãçµããã¹ãŠã®äººã«ãšã£ãŠå¿ èªã®æžã§ãããšèããããŠããŸãã
ãã®ããã°ã§ã¯ãã¬ãŒãå¶éã®å©ç¹ãã€ãŸããIoT ãã©ãããã©ãŒã ãšã¢ããªã±ãŒã·ã§ã³ã®ã»ãã¥ãªãã£ãã©ã®ããã«åŒ·åã§ãããã«ã€ããŠæ€èšããŸãã
ããã§ãMQTT éä¿¡ã®åŒ·åã«ããããã©ã³ã¹ããŒãå±€ã»ãã¥ãªã㣠(TLS) ã®éèŠãªåœ¹å²ã«å ãåœãŠãŸãããã®ããã°æçš¿ã§ã¯ãç¹ã« TLS ãšãMQTT éä¿¡ã®æŽåæ§ãæ©å¯æ§ãä¿¡é Œæ§ã確ä¿ãã TLS ã®æ©èœã«çŠç¹ãåœãŠãŸãã
MQTT ãããŒã«ãŒã¯ ACL ã®å®è£ ãç°ãªãå ŽåããããACL èšå®ã®æ£ç¢ºãªæ§æãšæ©èœã¯ MQTT ãããŒã«ãŒ ãœãããŠã§ã¢ããšã«ç°ãªãå¯èœæ§ãããããšã«æ³šæããããšãéèŠã§ãã
ãã®èšäºã§ã¯ãåã®èšäºã§èª¬æãããã®ä»¥å€ã®è¿œå ã®èªèšŒæ¹æ³ã«ã€ããŠè©³ãã説æããŸããå ·äœçã«ã¯ãTokenããŒã¹ã®èªèšŒãš OAuth 2.0 ã«ã€ããŠèª¿æ»ãããã®æŠå¿µã説æããMQTTã§ã®å®è£ ã瀺ããŸãã
匷åèªèšŒã¯ãMQTT 5.0 ã§å°å ¥ãããæ°ããèªèšŒãã¬ãŒã ã¯ãŒã¯ã§ããåŸæ¥ã®ãã¹ã¯ãŒãèªèšŒããå®å šãªããŸããŸãªä»£æ¿æ¹æ³ãæäŸããŸãã
ãã®èšäºã§ã¯ãMQTT ã§ã®èªèšŒã®ä»çµã¿ãšãèªèšŒã«ãã£ãŠã©ã®ãããªã»ãã¥ãªã㣠ãªã¹ã¯ã解決ããããã説æããæåã®èªèšŒæ¹æ³ã§ãããã¹ã¯ãŒãããŒã¹ã®èªèšŒã玹ä»ããŸãã
IoT ã·ã¹ãã ã«ãšã£ãŠã® MQTT ã»ãã¥ãªãã£ã®éèŠæ§ãšãIoT ãã³ããŒãããå®å šãªã·ã¹ãã ãæ§ç¯ããããã«é¿ããã¹ãäžè¬çãªèœãšãç©Žã«ã€ããŠèª¬æããŸãã