{"id":50921,"date":"2024-11-06T00:00:00","date_gmt":"2024-11-06T08:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/"},"modified":"2025-11-14T07:56:58","modified_gmt":"2025-11-14T15:56:58","slug":"saving-your-iot-data-into-griddb-with-rabbitmq","status":"publish","type":"post","link":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/","title":{"rendered":"IoT\u30c7\u30fc\u30bf\u3092GridDB\u306bRabbitMQ\u3067\u4fdd\u5b58\u3059\u308b"},"content":{"rendered":"<p><a href=\"https:\/\/www.rabbitmq.com\/\">RabbitMQ<\/a> \u306f\u4eba\u6c17\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u30ad\u30e5\u30fc\u30a4\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u3067\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u914d\u4fe1\u304c\u6700\u3082\u91cd\u8981\u306a\u3055\u307e\u3056\u307e\u306a\u30b7\u30b9\u30c6\u30e0\u3067\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u79c1\u305f\u3061\u306e\u30b1\u30fc\u30b9\u3067\u306f\u3001RabbitMQ\u3092\u4f7f\u7528\u3057\u3066\u3001\u5f8c\u3067\u51e6\u7406\u3059\u308b\u305f\u3081\u306bGridDB\u306b\u914d\u4fe1\u3055\u308c\u308b\u30d5\u30a3\u30fc\u30eb\u30c9\u30bb\u30f3\u30b5\u30fc\u30c7\u30fc\u30bf\u306e\u914d\u4fe1\u3092\u78ba\u5b9f\u306b\u3057\u305f\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3082\u3061\u308d\u3093\u3001HTTP \u306a\u3069\u306e\u4ed6\u306e\u624b\u6bb5\u3067\u5e38\u306b\u73fe\u5834\u304b\u3089\u30e1\u30a4\u30f3\u30b5\u30fc\u30d0\u30fc\u306b\u30c7\u30fc\u30bf\u3092\u9001\u4fe1\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u305d\u306e\u3088\u3046\u306a\u30c7\u30fc\u30bf\u8ee2\u9001\u65b9\u6cd5\u306f\u3001\u6c17\u307e\u3050\u308c\u3067\u5b89\u5168\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002Apple Music \u3067\u3001\u63a5\u7d9a\u72b6\u614b\u304c\u4e0d\u5b89\u5b9a\u306a\u7530\u820e\u306e\u5730\u57df\u304b\u3089\u97f3\u697d\u3092\u8074\u3053\u3046\u3068\u3057\u305f\u3068\u304d\u306b\u3001\u63a5\u7d9a\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u305d\u306e\u5f8c\u307e\u3063\u305f\u304f\u97f3\u304c\u805e\u3053\u3048\u306a\u304f\u306a\u3063\u305f\u7d4c\u9a13\u306f\u4f55\u5ea6\u3042\u308a\u307e\u3059\u304b\uff1f\u3044\u3063\u305f\u3093\u63a5\u7d9a\u304c\u9014\u5207\u308c\u308b\u3068\u3001\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u30d7\u30ed\u30bb\u30b9\u5168\u4f53\u304c\u518d\u5ea6\u767a\u751f\u3059\u308b\u307e\u3067\u63a5\u7d9a\u306f\u56de\u5fa9\u305b\u305a\u3001\u4e2d\u7d99\u3067\u9001\u4fe1\u3055\u308c\u305f\u30c7\u30fc\u30bf\u306f\u3059\u3079\u3066\u5b8c\u5168\u306b\u5931\u308f\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u304a\u3051\u308bRabbitMQ\u306e\u76ee\u6a19\u306f\u3001\u63a5\u7d9a\u306b\u554f\u984c\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u3067\u3082\u3001\u30c7\u30fc\u30bf\u304c\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u53d7\u4fe1\u78ba\u8a8d\u3092\u53d7\u3051\u53d6\u308a\u3001GridDB\u306b\u4fdd\u5b58\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u307e\u3067\u3001\u30c7\u30fc\u30bf\u3092\u4fdd\u6301\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<h2>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/h2>\n<p>\u3053\u306e\u8a18\u4e8b\u306e\u76ee\u7684\u306f\u3001IoT \u30e1\u30c3\u30bb\u30fc\u30b8\u30ad\u30e5\u30fc\u30b7\u30b9\u30c6\u30e0\u306e\u6700\u3082\u57fa\u672c\u7684\u306a\u5b9f\u8a3c\u5b9f\u9a13\u3092\u884c\u3046\u3053\u3068\u3067\u3059\u3002\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u8a2d\u7f6e\u3055\u308c\u305f\u7269\u7406\u30bb\u30f3\u30b5\u30fc\u304c\u74b0\u5883\u304b\u3089\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u53d6\u308a\u3001\u305d\u306e\u8aad\u307f\u53d6\u308a\u5024\u3092\u4ea4\u63db\u5148\u306b\u9001\u4fe1\u3057\u3001\u4ea4\u63db\u5148\u304b\u3089\u30ad\u30e5\u30fc\u306b\u3001\u305d\u3057\u3066\u6700\u7d42\u7684\u306b\u30b5\u30fc\u30d0\u30fc\u306b\u30c7\u30fc\u30bf\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u304c\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u3092\u53d7\u4fe1\u3057\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001\u30ad\u30e5\u30fc\u304b\u3089\u305d\u306e\u5024\u3092\u524a\u9664\u3057\u3001\u6b21\u306e\u5024\uff08\u5b58\u5728\u3059\u308b\u5834\u5408\uff09\u306b\u51e6\u7406\u3092\u79fb\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u5b9f\u73fe\u3059\u308b\u306b\u306f\u3001\u307e\u305a\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2<\/h3>\n<p>\u79c1\u305f\u3061\u306f\u3001\u5927\u6c17\u8cea\u30bb\u30f3\u30b5\u30fc<a href=\"https:\/\/www.adafruit.com\/product\/4632\">Adafruit PMSA003I Air Quality Breakout<\/a>\u3092\u3053\u306e<a href=\"https:\/\/www.adafruit.com\/product\/4688\">STEMMA Hat<\/a>\u3068STEMMA\u30ef\u30a4\u30e4\u30fc\u3092\u4ecb\u3057\u3066\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306b\u3001<a href=\"https:\/\/www.raspberrypi.com\/products\/raspberry-pi-4-model-b\/\">Raspberry Pi 4<\/a>\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u7279\u5b9a\u306e\u30bb\u30f3\u30b5\u30fc\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u65b9\u306f\u3001adafruit\u304c\u63d0\u4f9b\u3059\u308b<a href=\"https:\/\/learn.adafruit.com\/pmsa003i?view=all\">Docs<\/a>\u30da\u30fc\u30b8\u3067\u8aad\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/griddb.net\/wp-content\/uploads\/2024\/11\/hardware-scaled.jpg\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2024\/11\/hardware-scaled.jpg\" alt=\"\" width=\"1739\" height=\"2560\" class=\"aligncenter size-full wp-image-30767\" srcset=\"\/wp-content\/uploads\/2024\/11\/hardware-scaled.jpg 1739w, \/wp-content\/uploads\/2024\/11\/hardware-204x300.jpg 204w, \/wp-content\/uploads\/2024\/11\/hardware-696x1024.jpg 696w, \/wp-content\/uploads\/2024\/11\/hardware-768x1131.jpg 768w, \/wp-content\/uploads\/2024\/11\/hardware-600x883.jpg 600w, \/wp-content\/uploads\/2024\/11\/hardware-1043x1536.jpg 1043w, \/wp-content\/uploads\/2024\/11\/hardware-1391x2048.jpg 1391w\" sizes=\"(max-width: 1739px) 100vw, 1739px\" \/><\/a> Ubuntu\u30b5\u30fc\u30d0\u30fc\u306e\u30ad\u30e5\u30fc\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d7\u4fe1\u3057\u307e\u3059\u3002\u4ed5\u69d8\u306f\u91cd\u8981\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u6b21\u306b\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2<\/h3>\n<p>\u3082\u3061\u308d\u3093\u3001\u95a2\u9023\u30c7\u30fc\u30bf\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u30d7\u30c3\u30b7\u30e5\u3068\u53d7\u4fe1\u306b\u306f RabbitMQ \u3092\u5229\u7528\u3057\u307e\u3059\u3002 RabbitMQ \u306f\u591a\u304f\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306b\u5bfe\u5fdc\u3059\u308b\u5404\u7a2e\u30b3\u30cd\u30af\u30bf\u3092\u63d0\u4f9b\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u57fa\u672c\u7684\u306b\u306f\u81ea\u7531\u306b\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff08\u3053\u308c\u3082 RabbitMQ \u3092\u30b9\u30bf\u30c3\u30af\u306b\u5229\u7528\u3059\u308b\u96a0\u308c\u305f\u5229\u70b9\u3067\u3059\uff09\u3002 \u4eca\u56de\u306f\u3001\u751f\u306e\u30bb\u30f3\u30b5\u30fc\u30c7\u30fc\u30bf\u3092\u7c21\u5358\u306b\u8aad\u307f\u8fbc\u3093\u3067\u5909\u63db\u3067\u304d\u308b Python \u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3059\u3067\u306b\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001Python \u3067\u30da\u30a4\u30ed\u30fc\u30c9\u30c7\u30fc\u30bf\u3092\u30d7\u30c3\u30b7\u30e5\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<a href=\"https:\/\/docs.griddb.net\/gettingstarted\/python\/\">GridDB Python Connector<\/a>\u306e\u52a9\u3051\u3092\u501f\u308a\u3066\u3001\u5225\u306ePython\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u30da\u30a4\u30ed\u30fc\u30c9\u30c7\u30fc\u30bf\u3092\u53d7\u4fe1\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u304c\u3001GridDB\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067\u3042\u308a\u3001\u8ffd\u52a0\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3092\u5fc5\u8981\u3068\u3057\u306a\u3044Java\u3067\u53d7\u4fe1\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<h3>\u8a08\u753b<\/h3>\n<p>\u5168\u4f53\u7684\u306a\u8a08\u753b\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ol>\n<li>RabbitMQ\u3092Ubuntu\u30b5\u30fc\u30d0\u30fc\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/li>\n<li>\u30bb\u30f3\u30b5\u30fc\u306e\u8aad\u307f\u53d6\u308a\u3092\u884c\u3044\u3001\u8aad\u307f\u53d6\u308a\u53ef\u80fd\u306a\u30c7\u30fc\u30bf\u30da\u30a4\u30ed\u30fc\u30c9\u306b\u5909\u63db\u3059\u308b\uff08Python\uff09<\/li>\n<li>\u4f5c\u6210\u3057\u305fExchange\/Queue\u306b\u30c7\u30fc\u30bf\u3092\u30d7\u30c3\u30b7\u30e5\u3059\u308b<\/li>\n<li>Java\uff08\u304a\u3088\u3073RabbitMQ\uff09\u3067\u53d7\u4fe1\u30ad\u30e5\u30fc\u3092\u4f7f\u7528\u3059\u308b<\/li>\n<li>\u53d7\u4fe1\u3057\u305f\u30da\u30a4\u30ed\u30fc\u30c9\u3092\u76f4\u63a5GridDB\u306b\u4fdd\u5b58\u3059\u308b<\/li>\n<\/ol>\n<h3>\u5b9f\u884c\u65b9\u6cd5<\/h3>\n<p>Python\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u7c21\u5358\u306b\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002<code>python3 app.py<\/code>\u3002<\/p>\n<p>Java\u306e\u5834\u5408\u306f\u3001\u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea\u3078\u306e\u4f9d\u5b58\u95a2\u4fc2\u304c\u3042\u308b\u305f\u3081\u3001\u305d\u308c\u3089\u3092\u53c2\u7167\uff08<code>lib<\/code>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308a\u307e\u3059\uff09\u3057\u3001\u305d\u306e\u3088\u3046\u306b\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\uff1a<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ cd lib\/\n$ export CP=.:amqp-client-5.16.0.jar:slf4j-api-1.7.36.jar:slf4j-simple-1.7.36.jar:gridstore-5.6.0.jar:jackson-databind-2.17.2.jar:jackson-core-2.17.2.jar:jackson-annotations-2.17.2.jar\n$ java -cp $CP ..\/Recv.java<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u30892\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u5b9f\u884c\u9806\u5e8f\u306f\u91cd\u8981\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30ad\u30e5\u30fc\u304c\u7a7a\u306e\u5834\u5408\u3067\u3082\u53d7\u4fe1\u306f\u7dad\u6301\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u4e8b\u524d\u6e96\u5099\u3068\u958b\u59cb<\/h2>\n<p>\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30921:1\u3067\u5b9f\u884c\u3057\u305f\u3044\u5834\u5408\u306b\u5fc5\u8981\u306a\u3082\u306e\u3092\u4ee5\u4e0b\u306b\u793a\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>Raspberry Pi<\/li>\n<li>STEMMA Hat &amp; Wire\uff08\u307e\u305f\u306f\u4ed6\u306e\u30dc\u30fc\u30c9\u63a5\u7d9a\u624b\u6bb5<\/li>\n<li>Python\u3001RabbitMQ\u3001GridDB\u3001Java\u3001\u304a\u3088\u3073\u305d\u306e\u4ed6\u306e\u5404\u7a2e\u30e9\u30a4\u30d6\u30e9\u30ea<\/li>\n<\/ol>\n<p>RabbitMQ\u306f\u3001<a href=\"https:\/\/www.rabbitmq.com\/docs\/download\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a>\u30da\u30fc\u30b8\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002\u624b\u9806\u306f\u7c21\u5358\u3067\u3059\u3002\u552f\u4e00\u306e\u6ce8\u610f\u70b9\u306f\u3001\u65b0\u3057\u3044\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u3001\u9069\u5207\u306a\u6a29\u9650\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ sudo rabbitmqctl add_user username password\n$ sudo rabbitmqctl set_permissions -p \/ username \".*\" \".*\" \".*\"<\/code><\/pre>\n<\/div>\n<p>\u3053\u3053\u3067\u4f7f\u7528\u3059\u308b\u8a8d\u8a3c\u60c5\u5831\u306f\u3001\u30c7\u30fc\u30bf\u9001\u4fe1\u8005\u3068\u30c7\u30fc\u30bf\u53d7\u4fe1\u8005\u306e\u9593\u306e\u63a5\u7d9a\u3092\u78ba\u7acb\u3059\u308b\u969b\u306b\u4f7f\u7528\u3059\u308b\u3082\u306e\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u6ce8\u610f\u70b9\u3068\u3057\u3066\u3001\u63a5\u7d9a\u3092\u884c\u3046\u969b\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u306b\u300c\u7279\u6b8a\u6587\u5b57\u300d\u3092\u4f7f\u7528\u3057\u3088\u3046\u3068\u3057\u307e\u3057\u305f\u304c\u3046\u307e\u304f\u3044\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u305d\u306e\u305f\u3081\u3001\u73fe\u6642\u70b9\u3067\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u30b7\u30f3\u30d7\u30eb\u306a\u3082\u306e\uff08A-z\u3068\u6570\u5b57\u306e\u307f\uff09\u306b\u3057\u3066\u304a\u304f\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n<h2>\u5b9f\u88c5\uff1a\u30d7\u30ed\u30c7\u30e5\u30fc\u30b5\u30fc<\/h2>\n<p>\u6700\u5f8c\u306b\u3001\u5177\u4f53\u7684\u306a\u5185\u5bb9\u306b\u5165\u3063\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002\u307e\u305a\u3001\u30d7\u30ed\u30c7\u30e5\u30fc\u30b5\u30fc\uff08Raspberry Pi\uff09\u306b\u7126\u70b9\u3092\u5f53\u3066\u3001\u6b21\u306b\u30b3\u30f3\u30b7\u30e5\u30fc\u30de\u30fc\uff08\u30b5\u30fc\u30d0\u30fc\uff09\u306b\u79fb\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u78ba\u5b9f\u306b\u914d\u4fe1\u3055\u308c\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4fdd\u5b58\u3055\u308c\u308b\u3088\u3046\u306b\u3001\u3044\u304f\u3064\u304b\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<h3>\u30c7\u30fc\u30bf\u8aad\u307f\u53d6\u308a\u7528Python\u30b9\u30af\u30ea\u30d7\u30c8<\/h3>\n<p>\u30bb\u30f3\u30b5\u30fc\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u53d6\u308a\u306b\u306f\u3001adafruit\u304c\u63d0\u4f9b\u3059\u308bPython\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u4fee\u6b63\u7248\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u57fa\u672c\u7684\u306b\u306f\u3001\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u53d6\u308a\u3001JSON\u3078\u306e\u5909\u63db\u3001Exchange\/Queue\u3078\u306e\u30d7\u30c3\u30b7\u30e5\u3068\u3044\u3046\u975e\u5e38\u306b\u30b7\u30f3\u30d7\u30eb\u306a\u30bf\u30b9\u30af\u3067\u3059\u3002\u307e\u305a\u3001\u30b3\u30fc\u30c9\u306e\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u90e8\u5206\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u305d\u306e\u5f8c\u3001\u30ad\u30e5\u30fc\u3092\u4f5c\u6210\u3057\u3001\u9069\u5207\u306a\u30de\u30b7\u30f3\u306b\u30d7\u30c3\u30b7\u30e5\u3059\u308b\u30b3\u30fc\u30c9\u3092\u898b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">import board\nimport busio\nfrom adafruit_pm25.i2c import PM25_I2C\n\nreset_pin = None\ni2c = busio.I2C(board.SCL, board.SDA, frequency=100000)\n# Connect to a PM2.5 sensor over I2C\npm25 = PM25_I2C(i2c, reset_pin)\naqdata = pm25.read()<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306e\u65ad\u7247\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3001\u30bb\u30f3\u30b5\u30fc\u306e\u8aad\u307f\u53d6\u308a\u5024\u3092\u7ffb\u8a33\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3067\u3001\u3059\u3079\u3066\u304c\u9069\u5207\u306b\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u3068\u4eee\u5b9a\u3057\u3066\u3001\u73fe\u5728\u306e\u5024\u3092 <code>aqdata<\/code> \u3068\u547c\u3070\u308c\u308b\u5909\u6570\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<h3>Python \u30b3\u30fc\u30c9\u306b\u3088\u308b RabbitMQ \u30ad\u30e5\u30fc\u3078\u306e\u30c7\u30fc\u30bf\u4f5c\u6210\u3068\u30d7\u30c3\u30b7\u30e5<\/h3>\n<p>\u6b21\u306b\u3001RabbitMQ \u306e\u30b3\u30fc\u30c9\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u307e\u305a\u3001Ubuntu \u30b5\u30fc\u30d0\u30fc\u3078\u306e\u63a5\u7d9a\u3092\u78ba\u7acb\u3057\u307e\u3059\u3002\u30a2\u30c9\u30ec\u30b9\u3092\u30de\u30b7\u30f3\u306e IP \u306b\u6307\u5b9a\u3057\u3001\u30dd\u30fc\u30c8\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u4ee5\u524d\u306b Ubuntu \u30b5\u30fc\u30d0\u30fc\u3067\u4f5c\u6210\u3057\u305f\u8a8d\u8a3c\u60c5\u5831\u3082\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">import pika\n\ncredentials = pika.PlainCredentials('israel', 'israel')\nparameters = pika.ConnectionParameters('192.168.50.206',\n                                   5672,\n                                   '\/',\n                                   credentials)\n\nconnection = pika.BlockingConnection(parameters)\nchannel = connection.channel()<\/code><\/pre>\n<\/div>\n<p>\u6b21\u306b\u3001\u30ad\u30e5\u30fc\u306b\u30c7\u30fc\u30bf\u3092\u30e1\u30c3\u30bb\u30fc\u30b8\u3068\u3057\u3066\u30d7\u30c3\u30b7\u30e5\u3059\u308b\u65b9\u6cd5\u3092\u542b\u3081\u3001\u30ad\u30e5\u30fc\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4f5c\u6210\u3057\u3066\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">channel.confirm_delivery()\nchannel.queue_declare(queue='airQuality', durable=True)<\/code><\/pre>\n<\/div>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001RabbitMQ\u306f\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u3092\u4f55\u3088\u308a\u3082\u512a\u5148\u3057\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u305f\u3068\u3048\u63a5\u7d9a\u304c\u5f31\u3044\u5834\u5408\u3067\u3082\u3001\u30c7\u30fc\u30bf\u3092\u78ba\u5b9f\u306b\u30b5\u30fc\u30d0\u30fc\uff08\u30d6\u30ed\u30fc\u30ab\u30fc\u3068\u3082\u547c\u3070\u308c\u308b\uff09\u306b\u9001\u4fe1\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u69cb\u6210\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3044\u304f\u3064\u304b\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001<code>confirm delivery<\/code>\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30d7\u30ed\u30c7\u30e5\u30fc\u30b5\u30fc\u304c\u30d6\u30ed\u30fc\u30ab\u30fc\u304b\u3089\u30cd\u30ac\u30c6\u30a3\u30d6\u30fb\u30a2\u30af\u30ce\u30ec\u30c3\u30b8\uff08Nack\u3068\u3082\u547c\u3070\u308c\u308b\uff09\u3092\u53d7\u3051\u53d6\u3063\u305f\u5834\u5408\u306b\u4f8b\u5916\/\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u30c7\u30fc\u30bf\u304c\u843d\u3061\u305f\u5834\u5408\u3001\u5c11\u306a\u304f\u3068\u3082\u305d\u306e\u30ed\u30b0\u304c\u6b8b\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u6b8b\u5ff5\u306a\u304c\u3089\u3001Python\u5074\u3067\u306f\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u51e6\u7406\u304c\u305d\u308c\u307b\u3069\u5805\u7262\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u308c\u304c\u672c\u756a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3042\u308c\u3070\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u3055\u307e\u3056\u307e\u306a\u65b9\u6cd5\u3067\u51e6\u7406\u3067\u304d\u308b\u4ed6\u306e\u8a00\u8a9e\u306bPython\u304b\u3089\u79fb\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u30d0\u30c3\u30c1\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u3066\u3001\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u53d6\u308a\u304c\u4e2d\u65ad\u3055\u308c\u308b\u53ef\u80fd\u6027\u3092\u6e1b\u3089\u3057\u3001\u4e2d\u65ad\u3055\u308c\u305f\u4f5c\u696d\u306e\u518d\u9001\u4fe1\u3092\u7c21\u5358\u306b\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3068\u306b\u304b\u304f\u3001\u4eca\u3042\u308b\u3082\u306e\u3092\u4f7f\u3063\u3066\u6b21\u306b\u3084\u308b\u3053\u3068\u306f\u3001\u30d6\u30ed\u30fc\u30ab\u30fc\u304c\u30af\u30e9\u30c3\u30b7\u30e5\u3057\u305f\u308a\u518d\u8d77\u52d5\u3057\u305f\u308a\u3057\u305f\u5834\u5408\u306b\u30ad\u30e5\u30fc\u3092\u4fdd\u5b58\u3059\u308b\u300cdurable\u300d\u3092\u6709\u52b9\u306b\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u300caqdata\u300d\u3092\u518d\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u306a\u304f\u306a\u308a\u307e\u3059\u304c\u3001\u30ad\u30e5\u30fc\u5185\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u5fc5\u305a\u3057\u3082\u4fdd\u5b58\u3055\u308c\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u305d\u306e\u5f8c\u3001\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u53d6\u308a\u3068\u9001\u4fe1\u3092\u540c\u6642\u306b\u884c\u3044\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">while True:\n    time.sleep(1)\n\n    try:\n        aqdata = pm25.read()\n        current_time = datetime.datetime.utcnow().replace(microsecond=0)\n        now = current_time.strftime('%Y-%m-%dT%H:%M:%S.%fZ')\n        aqdata['ts'] = now\n        aqdata['pm1'] = aqdata.pop('pm10 standard')\n        aqdata['pm25'] = aqdata.pop('pm25 standard')\n        aqdata['pm10'] = aqdata.pop('pm100 standard')\n        aqdata['pm1e'] = aqdata.pop('pm10 env')\n        aqdata['pm25e'] = aqdata.pop('pm25 env')\n        aqdata['pm10e'] = aqdata.pop('pm100 env')\n        aqdata['particles03'] = aqdata.pop('particles 03um')\n        aqdata['particles05'] = aqdata.pop('particles 05um')\n        aqdata['particles10'] = aqdata.pop('particles 10um')\n        aqdata['particles25'] = aqdata.pop('particles 25um')\n        aqdata['particles50'] = aqdata.pop('particles 50um')\n        aqdata['particles100'] = aqdata.pop('particles 100um')\n        #print(aqdata)\n    except RuntimeError:\n        print(\"Unable to read from sensor, retrying...\")\n        continue\n    \n    payload = json.dumps(aqdata)\n    try: \n        channel.basic_publish(exchange='',\n                        routing_key='airQuality',\n                        body=payload,\n                        properties=pika.BasicProperties(delivery_mode=pika.DeliveryMode.Persistent),\n                        mandatory=True)\n        print(\" [x] Sent payload: \" + payload)\n    except pika.exceptions.UnroutableError:\n        # If the message is not confirmed, it means something went wrong\n        print(\"Message could not be confirmed\")<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306e\u65ad\u7247\u3067\u306f\u3001\u30bb\u30f3\u30b5\u30fc\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u53d6\u308a\u3001\u30b3\u30f3\u30b7\u30e5\u30fc\u30de\u30fc\u5074\u3067\u4f7f\u7528\u3057\u305f\u3044\u30ab\u30e9\u30e0\u540d\u306b\u5909\u66f4\u3057\u3001\u305d\u306e\u5f8c\u3001\u4ee5\u524d\u306b\u4f5c\u6210\u3057\u305f\u30ad\u30e5\u30fc\u306b\u30da\u30a4\u30ed\u30fc\u30c9\u3092\u30c1\u30e3\u30cd\u30eb\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u6ce8\u610f\u3059\u3079\u304d\u70b9\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u3002\u5fc5\u9808\u30d5\u30e9\u30b0\u3092 true \u306b\u8a2d\u5b9a\u3057\u3001\u914d\u4fe1\u30e2\u30fc\u30c9\u3092\u6c38\u7d9a\u7684\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e2\u3064\u306e\u8a2d\u5b9a\u306b\u3088\u308a\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u5b89\u5168\u306b\u914d\u4fe1\u3055\u308c\u305f\u3068\u3044\u3046\u80af\u5b9a\u5fdc\u7b54\u3092\u30d6\u30ed\u30fc\u30ab\u30fc\u304b\u3089\u53d7\u3051\u53d6\u3089\u306a\u3044\u5834\u5408\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30c7\u30a3\u30b9\u30af\u306b\u4fdd\u5b58\u3057\u3088\u3046\u3068\u8a66\u307f\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u5916\u306f\u3001\u30d6\u30ed\u30fc\u30ab\u30fc\u304c\u30d7\u30ed\u30c7\u30e5\u30fc\u30b5\u30fc\u306b\u300c\u30ca\u30c3\u30af\u300d\uff08\u30cd\u30ac\u30c6\u30a3\u30d6\u30fb\u30a2\u30af\u30ce\u30ec\u30c3\u30b8\uff09\u3092\u8fd4\u3057\u305f\u5834\u5408\u306b\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u30011\u79d2\u3054\u3068\u306b\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u30bb\u30f3\u30b5\u30fc\u5024\u3092\u8aad\u307f\u53d6\u308a\u3001\u30ad\u30e5\u30fc\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u304c\u30d6\u30ed\u30fc\u30ab\u30fc\u306b\u3088\u3063\u3066\u78ba\u8a8d\u3055\u308c\u308b\u3068\u3001\u30d7\u30ed\u30c7\u30e5\u30fc\u30b5\u30fc\u306f\u3082\u306f\u3084\u305d\u306e\u30c7\u30fc\u30bf\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u6c17\u306b\u304b\u3051\u308b\u5fc5\u8981\u304c\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u5b9f\u88c5\uff1a\u30b3\u30f3\u30b7\u30e5\u30fc\u30de\u30fc<\/h2>\n<p>\u79c1\u305f\u3061\u306e\u30b3\u30f3\u30b7\u30e5\u30fc\u30de\u30fc\u306f Java \u3067\u4f5c\u6210\u3055\u308c\u3001\u305d\u306e\u5f79\u5272\u306f\u3001\u79c1\u305f\u3061\u306e\u30d6\u30ed\u30fc\u30ab\u30fc\uff08\u79c1\u305f\u3061\u306e\u5834\u5408\u306f\u30b3\u30f3\u30b7\u30e5\u30fc\u30de\u30fc\u3068\u540c\u3058\u30db\u30b9\u30c8\u30de\u30b7\u30f3\uff09\u306e\u30ad\u30e5\u30fc\u304b\u3089\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u53d6\u308a\u3001\u30c7\u30fc\u30bf\u3092 Java \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u30a2\u30f3\u30de\u30fc\u30b7\u30e3\u30eb\u3057\u3001\u7d50\u679c\u3092 GridDB \u306b\u4fdd\u5b58\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<h3>Java \u3067\u306e\u30ad\u30e5\u30fc\u306e\u6d88\u8cbb<\/h3>\n<p>\u30b3\u30f3\u30b7\u30e5\u30fc\u30de\u30fc\u90e8\u5206\u306e\u30b3\u30fc\u30c9\u306f\u6bd4\u8f03\u7684\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002\u63a5\u7d9a\u3092\u78ba\u7acb\u3057\u3001\u30ad\u30e5\u30fc\u304b\u3089\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u53d6\u308a\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">private final static String QUEUE_NAME = \"airQuality\";\nprivate final static boolean AUTO_ACK = false;\nConnectionFactory factory = new ConnectionFactory();\nfactory.setHost(\"localhost\");\nConnection connection = factory.newConnection();\nChannel channel = connection.createChannel();\nchannel.queueDeclare(QUEUE_NAME, true, false, false, null);\nSystem.out.println(\" [*] Waiting for messages. To exit press CTRL+C\");<\/code><\/pre>\n<\/div>\n<p>\u3053\u3053\u3067\u306f\u3001\u30d6\u30ed\u30fc\u30ab\u30fc\uff08\u30b3\u30f3\u30b7\u30e5\u30fc\u30de\u30fc\u3068\u540c\u3058\u30de\u30b7\u30f3\u3067\u30db\u30b9\u30c8\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001<code>localhost<\/code>\uff09\u3078\u306e\u63a5\u7d9a\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002\u8aad\u307f\u8fbc\u307f\u305f\u3044\u30ad\u30e5\u30fc\u3092\u5ba3\u8a00\u3057\u3001\u3044\u304f\u3064\u304b\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u6700\u521d\u306e <code>true<\/code> \u3092\u9664\u3044\u3066\u3001\u3059\u3079\u3066\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e <code>true<\/code> \u306f\u3001\u524d\u8ff0\u306ePython\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u8aac\u660e\u3057\u305f\u3068\u304a\u308a\u3001\u30d6\u30ed\u30fc\u30ab\u30fc\u304c\u30c0\u30a6\u30f3\u3057\u305f\u5834\u5408\u3067\u3082\u30ad\u30e5\u30fc\u304c\u6301\u7d9a\u3059\u308b\u3053\u3068\u3092\u610f\u5473\u3059\u308b\u300c\u8010\u4e45\u30e2\u30fc\u30c9\u300d\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u5b9f\u969b\u306e\u6d88\u8cbb\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">channel.basicConsume(QUEUE_NAME, AUTO_ACK, deliverCallback, consumerTag -> { });<\/code><\/pre>\n<\/div>\n<p>\u3053\u3053\u3067\u6307\u6458\u3057\u305f\u3044\u306e\u306f\u3001<code>AUTO_ACK<\/code>\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30aa\u30d5\u306b\u3057\u3066\u3044\u308b\uff08FALSE\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u308b\uff09\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u30ad\u30e5\u30fc\u304b\u3089\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u6b63\u5e38\u306b\u8aad\u307f\u8fbc\u307e\u308c\u305f\u304b\u3069\u3046\u304b\u3092\u624b\u52d5\u3067\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u30ad\u30e5\u30fc\u304b\u3089\u65b0\u3057\u3044\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8aad\u307f\u8fbc\u307e\u308c\u308b\u305f\u3073\u306b\u5b9f\u884c\u3055\u308c\u308b\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">        DeliverCallback deliverCallback = (consumerTag, delivery) -> {\n            byte[] data = delivery.getBody();\n   \n            try {\n                AirData ad = mapper.readValue(data, AirData.class);\n                String jsonString = mapper.writerWithDefaultPrettyPrinter().writeValueAsString(ad);\n                System.out.println(jsonString);\n                container.put(ad);\n                channel.basicAck(delivery.getEnvelope().getDeliveryTag(), false);\n            } catch (Exception e) {\n                channel.basicNack(delivery.getEnvelope().getDeliveryTag(), false, true);\n                System.out.println(\"Setting nack\");\n            }\n        };<\/code><\/pre>\n<\/div>\n<p>\u4ee5\u4e0b\u304c\u305d\u306e\u51e6\u7406\u3067\u3059\u3002\u30e1\u30c3\u30bb\u30fc\u30b8\uff08\u30d0\u30a4\u30c8\u914d\u5217\u306e\u4e00\u7a2e\uff09\u3092\u8aad\u307f\u8fbc\u307f\u3001Jackson JSON\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u3066\u3001\u751f\u306e\u30d0\u30a4\u30c8\u5217\u304b\u3089\u3001<code>AirData<\/code>\u3068\u3044\u3046\u540d\u524d\u306e\u30af\u30e9\u30b9\u306b\u5024\u3092\u30a2\u30f3\u30de\u30fc\u30b7\u30e3\u30eb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">    static public class AirData {\n        @JsonProperty(\"ts\")\n        @RowKey Date ts;\n        @JsonProperty(\"pm1\")\n        double pm1;\n        @JsonProperty(\"pm25\")\n        double pm25;\n        @JsonProperty(\"pm10\")\n        double pm10;\n        @JsonProperty(\"pm1e\")\n        double pm1e;\n        @JsonProperty(\"pm25e\")\n        double pm25e;\n        @JsonProperty(\"pm10e\")\n        double pm10e;\n        @JsonProperty(\"particles03\")\n        double particles03;\n        @JsonProperty(\"particles05\")\n        double particles05;\n        @JsonProperty(\"particles10\")\n        double particles10;\n        @JsonProperty(\"particles25\")\n        double particles25;\n        @JsonProperty(\"particles50\")\n        double particles50;\n        @JsonProperty(\"particles100\")\n        double particles100;\n    }<\/code><\/pre>\n<\/div>\n<p>\u6b21\u306b\u3001\u65b0\u305f\u306b\u4f5c\u6210\u3057\u305fJava\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092GridDB\u306b\u4fdd\u5b58\u3057\u3001\u6700\u5f8c\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u53d7\u4fe1\u3057\u305f\u3053\u3068\u3092\u30d6\u30ed\u30fc\u30ab\u30fc\u306b\u901a\u77e5\u3057\u307e\u3059\u3002\u4f55\u304b\u554f\u984c\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306f\u3001<code>nack<\/code>\u3092\u9001\u4fe1\u3057\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u306f<code>ack<\/code>\u3092\u53d7\u4fe1\u3059\u308b\u307e\u3067\u30ad\u30e5\u30fc\u306b\u6b8b\u308a\u307e\u3059\u3002<\/p>\n<h3>GridDB<\/h3>\n<p>\u6700\u5f8c\u306b\u3001GridDB\u304c\u3069\u306e\u3088\u3046\u306b\u3053\u306e\u4ed5\u7d44\u307f\u306b\u9069\u5408\u3059\u308b\u306e\u304b\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002GridDB\u3078\u306e\u63a5\u7d9a\u3092\u884c\u3044\u3001\u30bf\u30a4\u30e0\u30b7\u30ea\u30fc\u30ba\u30b3\u30f3\u30c6\u30ca\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u4e00\u5ea6\u304d\u308a\u3057\u304b\u4f7f\u308f\u306a\u3044Java\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3088\u308a\u3082\u7c21\u5358\u306a\u306e\u3067\u3001\u30b7\u30a7\u30eb\u3067\u30c6\u30fc\u30d6\u30eb\/\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ sudo su gsadm\n$ gs_sh\ngs> createtimeseries aqdata NO ts timestamp pm1 double pm25 double pm10 double pm1e double pm25e double pm10e double particles03 double particles05 double particles10 double particles25 double particles50 double particles100 double<\/code><\/pre>\n<\/div>\n<p>\u305d\u3057\u3066\u4eca\u3001Java\u30b3\u30fc\u30c9\u3067\u63a5\u7d9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">    public static GridStore GridDBNoSQL() throws GSException {\n\n        GridStore store = null;\n\n        try {\n            Properties props = new Properties();\n            props.setProperty(\"notificationMember\", \"127.0.0.1:10001\");\n            props.setProperty(\"clusterName\", \"myCluster\");\n            props.setProperty(\"user\", \"admin\");\n            props.setProperty(\"password\", \"admin\");\n            store = GridStoreFactory.getInstance().getGridStore(props);\n        } catch (Exception e) {\n            e.printStackTrace();\n        }\n\n        return store;\n    }<\/code><\/pre>\n<\/div>\n<p>\u5148\u307b\u3069\u4f5c\u6210\u3057\u305f <code>AirData<\/code> \u30af\u30e9\u30b9\u3092\u4f7f\u7528\u3057\u3066\u3001\u65b0\u3057\u304f\u4f5c\u6210\u3057\u305f\u30b3\u30f3\u30c6\u30ca\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">TimeSeries&lt;airdata> container = store.getTimeSeries(\"aqdata\", AirData.class);\nSystem.out.println(\"Connected to GridDB!\");&lt;\/airdata><\/code><\/pre>\n<\/div>\n<p>\u305d\u3057\u3066\u3001\u3053\u308c\u306f\u3059\u3067\u306b\u4e0a\u8a18\u3067\u8aac\u660e\u6e08\u307f\u3067\u3059\u304c\u3001\u65b0\u3057\u3044\u30da\u30a4\u30ed\u30fc\u30c9\u3092\u53d7\u3051\u53d6\u308b\u3068\u3001\u3059\u3050\u306bGridDB\u306b\u4fdd\u5b58\u3057\u3001\u80af\u5b9a\u5fdc\u7b54\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-python\">container.put(ad);\nchannel.basicAck(delivery.getEnvelope().getDeliveryTag(), false);<\/code><\/pre>\n<\/div>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001Python\u30d7\u30ed\u30c7\u30e5\u30fc\u30b5\u30fc\u304b\u3089\u540d\u524d\u306a\u3057\uff08&#8221;\uff09\u306e\u4ea4\u63db\u306bIoT\u30c7\u30fc\u30bf\u3092\u5b89\u5168\u306b\u8ee2\u9001\u3057\u3001<code>airQuality<\/code>\u3068\u547c\u3070\u308c\u308b\u30ad\u30e5\u30fc\u3092\u683c\u7d0d\u3059\u308b\u30d6\u30ed\u30fc\u30ab\u30fc\u306b\u8ee2\u9001\u3057\u3001\u6700\u5f8c\u306bJava\u30b3\u30f3\u30b7\u30e5\u30fc\u30de\u30fc\u304c\u8aad\u307f\u53d6\u308b\u3068\u3044\u3046\u5805\u7262\u306a\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u7bc9\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RabbitMQ \u306f\u4eba\u6c17\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u30ad\u30e5\u30fc\u30a4\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u3067\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u914d\u4fe1\u304c\u6700\u3082\u91cd\u8981\u306a\u3055\u307e\u3056\u307e\u306a\u30b7\u30b9\u30c6\u30e0\u3067\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u79c1\u305f\u3061\u306e\u30b1\u30fc\u30b9\u3067\u306f\u3001RabbitMQ\u3092\u4f7f\u7528\u3057\u3066\u3001\u5f8c\u3067\u51e6\u7406\u3059\u308b\u305f\u3081\u306bGridDB\u306b\u914d\u4fe1\u3055\u308c\u308b\u30d5\u30a3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":49749,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1005],"tags":[],"class_list":["post-50921","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1005"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>IoT\u30c7\u30fc\u30bf\u3092GridDB\u306bRabbitMQ\u3067\u4fdd\u5b58\u3059\u308b | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"RabbitMQ\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.griddb.net\/ja\/\u672a\u5206\u985e\/saving-your-iot-data-into-griddb-with-rabbitmq\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"IoT\u30c7\u30fc\u30bf\u3092GridDB\u306bRabbitMQ\u3067\u4fdd\u5b58\u3059\u308b | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"RabbitMQ\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.griddb.net\/ja\/\u672a\u5206\u985e\/saving-your-iot-data-into-griddb-with-rabbitmq\/\" \/>\n<meta property=\"og:site_name\" content=\"GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/griddbcommunity\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-06T08:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-14T15:56:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.griddb.net\/wp-content\/uploads\/2024\/11\/hardware-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1739\" \/>\n\t<meta property=\"og:image:height\" content=\"2560\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Israel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:site\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Israel\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/\"},\"author\":{\"name\":\"Israel\",\"@id\":\"https:\/\/www.griddb.net\/en\/#\/schema\/person\/c8a430e7156a9e10af73b1fbb46c2740\"},\"headline\":\"IoT\u30c7\u30fc\u30bf\u3092GridDB\u306bRabbitMQ\u3067\u4fdd\u5b58\u3059\u308b\",\"datePublished\":\"2024-11-06T08:00:00+00:00\",\"dateModified\":\"2025-11-14T15:56:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/\"},\"wordCount\":99,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.griddb.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2024\/11\/hardware-scaled.jpg\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/\",\"url\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/\",\"name\":\"IoT\u30c7\u30fc\u30bf\u3092GridDB\u306bRabbitMQ\u3067\u4fdd\u5b58\u3059\u308b | GridDB: Open Source Time Series Database for IoT\",\"isPartOf\":{\"@id\":\"https:\/\/www.griddb.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2024\/11\/hardware-scaled.jpg\",\"datePublished\":\"2024-11-06T08:00:00+00:00\",\"dateModified\":\"2025-11-14T15:56:58+00:00\",\"description\":\"RabbitMQ\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2024\/11\/hardware-scaled.jpg\",\"contentUrl\":\"\/wp-content\/uploads\/2024\/11\/hardware-scaled.jpg\",\"width\":1739,\"height\":2560},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.griddb.net\/en\/#website\",\"url\":\"https:\/\/www.griddb.net\/en\/\",\"name\":\"GridDB: Open Source Time Series Database for IoT\",\"description\":\"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL\",\"publisher\":{\"@id\":\"https:\/\/www.griddb.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.griddb.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.griddb.net\/en\/#organization\",\"name\":\"Fixstars\",\"url\":\"https:\/\/www.griddb.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.griddb.net\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"contentUrl\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"width\":200,\"height\":83,\"caption\":\"Fixstars\"},\"image\":{\"@id\":\"https:\/\/www.griddb.net\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/griddbcommunity\/\",\"https:\/\/x.com\/GridDBCommunity\",\"https:\/\/www.linkedin.com\/company\/griddb-by-toshiba\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.griddb.net\/en\/#\/schema\/person\/c8a430e7156a9e10af73b1fbb46c2740\",\"name\":\"Israel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.griddb.net\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4df8cfc155402a2928d11f80b0220037b8bd26c4f1b19c4598d826e0306e6307?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4df8cfc155402a2928d11f80b0220037b8bd26c4f1b19c4598d826e0306e6307?s=96&d=mm&r=g\",\"caption\":\"Israel\"},\"url\":\"https:\/\/www.griddb.net\/ja\/author\/israel\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"IoT\u30c7\u30fc\u30bf\u3092GridDB\u306bRabbitMQ\u3067\u4fdd\u5b58\u3059\u308b | GridDB: Open Source Time Series Database for IoT","description":"RabbitMQ","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.griddb.net\/ja\/\u672a\u5206\u985e\/saving-your-iot-data-into-griddb-with-rabbitmq\/","og_locale":"ja_JP","og_type":"article","og_title":"IoT\u30c7\u30fc\u30bf\u3092GridDB\u306bRabbitMQ\u3067\u4fdd\u5b58\u3059\u308b | GridDB: Open Source Time Series Database for IoT","og_description":"RabbitMQ","og_url":"https:\/\/www.griddb.net\/ja\/\u672a\u5206\u985e\/saving-your-iot-data-into-griddb-with-rabbitmq\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2024-11-06T08:00:00+00:00","article_modified_time":"2025-11-14T15:56:58+00:00","og_image":[{"width":1739,"height":2560,"url":"https:\/\/www.griddb.net\/wp-content\/uploads\/2024\/11\/hardware-scaled.jpg","type":"image\/jpeg"}],"author":"Israel","twitter_card":"summary_large_image","twitter_creator":"@GridDBCommunity","twitter_site":"@GridDBCommunity","twitter_misc":{"\u57f7\u7b46\u8005":"Israel","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/#article","isPartOf":{"@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/"},"author":{"name":"Israel","@id":"https:\/\/www.griddb.net\/en\/#\/schema\/person\/c8a430e7156a9e10af73b1fbb46c2740"},"headline":"IoT\u30c7\u30fc\u30bf\u3092GridDB\u306bRabbitMQ\u3067\u4fdd\u5b58\u3059\u308b","datePublished":"2024-11-06T08:00:00+00:00","dateModified":"2025-11-14T15:56:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/"},"wordCount":99,"commentCount":0,"publisher":{"@id":"https:\/\/www.griddb.net\/en\/#organization"},"image":{"@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2024\/11\/hardware-scaled.jpg","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/","url":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/","name":"IoT\u30c7\u30fc\u30bf\u3092GridDB\u306bRabbitMQ\u3067\u4fdd\u5b58\u3059\u308b | GridDB: Open Source Time Series Database for IoT","isPartOf":{"@id":"https:\/\/www.griddb.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/#primaryimage"},"image":{"@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2024\/11\/hardware-scaled.jpg","datePublished":"2024-11-06T08:00:00+00:00","dateModified":"2025-11-14T15:56:58+00:00","description":"RabbitMQ","inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/saving-your-iot-data-into-griddb-with-rabbitmq\/#primaryimage","url":"\/wp-content\/uploads\/2024\/11\/hardware-scaled.jpg","contentUrl":"\/wp-content\/uploads\/2024\/11\/hardware-scaled.jpg","width":1739,"height":2560},{"@type":"WebSite","@id":"https:\/\/www.griddb.net\/en\/#website","url":"https:\/\/www.griddb.net\/en\/","name":"GridDB: Open Source Time Series Database for IoT","description":"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL","publisher":{"@id":"https:\/\/www.griddb.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.griddb.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.griddb.net\/en\/#organization","name":"Fixstars","url":"https:\/\/www.griddb.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.griddb.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","contentUrl":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","width":200,"height":83,"caption":"Fixstars"},"image":{"@id":"https:\/\/www.griddb.net\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/griddbcommunity\/","https:\/\/x.com\/GridDBCommunity","https:\/\/www.linkedin.com\/company\/griddb-by-toshiba"]},{"@type":"Person","@id":"https:\/\/www.griddb.net\/en\/#\/schema\/person\/c8a430e7156a9e10af73b1fbb46c2740","name":"Israel","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.griddb.net\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4df8cfc155402a2928d11f80b0220037b8bd26c4f1b19c4598d826e0306e6307?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4df8cfc155402a2928d11f80b0220037b8bd26c4f1b19c4598d826e0306e6307?s=96&d=mm&r=g","caption":"Israel"},"url":"https:\/\/www.griddb.net\/ja\/author\/israel\/"}]}},"_links":{"self":[{"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/comments?post=50921"}],"version-history":[{"count":1,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50921\/revisions"}],"predecessor-version":[{"id":51738,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50921\/revisions\/51738"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/media\/49749"}],"wp:attachment":[{"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/media?parent=50921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/categories?post=50921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/tags?post=50921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}