Fiware堆栈iotagent,Orion上下文代理与AWS DocumentDB而不是mongoDB的兼容性 [英] Fiware stack iotagent,Orion context broker compatibility with AWS DocumentDB instead of mongoDB

查看:80
本文介绍了Fiware堆栈iotagent,Orion上下文代理与AWS DocumentDB而不是mongoDB的兼容性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以确认AWS DocumentDB与Fiware GE的兼容性,例如iotagent,Orion上下文代理.fiware stack是否与DocumentDB完全兼容.在尝试之前,先寻找建议和要考虑的事情.

Can anybody confirm the AWS DocumentDB compatibility with Fiware GE's like iotagent,Orion context broker. Is fiware stack fully working with DocumentDB. Looking for a suggestions and things to be consider before attempting it.

谢谢ONR

推荐答案

由于AWS DocumentDB仅支持MongoDB的一个子集,因此肯定会有一些不兼容性.

Since AWS DocumentDB only supports a subset of MongoDB, there is definitely going to be some incompatibility.

以地理位置查询为例

curl -G -X GET \
  'http://localhost:1026/v2/entities' \
  -d 'type=Store' \
  -d 'georel=near;maxDistance:1500' \
  -d 'geometry=point' \
  -d 'coords=52.5162,13.3777'

这些内部依赖于当前不支持的MongoDB地理空间操作: https://docs.aws.amazon.com/documentdb/latest/developerguide/mongo-apis.html#mongo-apis-geospatial

Internally these rely on the MongoDB geospatial operations which are not currently supported: https://docs.aws.amazon.com/documentdb/latest/developerguide/mongo-apis.html#mongo-apis-geospatial

据我了解,物联网代理只是将Mongo-DB用作用于映射数据的简单内存存储,因此不会有任何问题.

In my understanding, the IoT Agents are just using Mongo-DB as a simple memory store for mapping data so would not have any issues.

这篇关于Fiware堆栈iotagent,Orion上下文代理与AWS DocumentDB而不是mongoDB的兼容性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆