Comments (7)
@tongtongxiaopeng1979
More about remote module user-guide:https://openedge.tech/docs/tutorials/local/Message-synchronize-with-iothub-whith-remote-module
If you want to access openedge-function via baidu-iothub, the data path is : MQTT client(for baidu-iothub) -> baidu-iothub -> openedge-mqtt-remote -> openedge-hub -> openedge-function -> openedge-hub -> MQTT client(for openedge).
from baetyl.
@tongtongxiaopeng1979
More about remote module user-guide:https://openedge.tech/docs/tutorials/local/Message-synchronize-with-iothub-whith-remote-moduleIf you want to access openedge-function via baidu-iothub, the data path is : MQTT client(for baidu-iothub) -> baidu-iothub -> openedge-mqtt-remote -> openedge-hub -> openedge-function -> openedge-hub -> MQTT client(for openedge).
thanks for your reply . there is one question
when you create a openedge_function module for the local hub, you have to fill in the "Privilege name". The priviledge name actually is the permission to local hub. so it means mqtt_remote not have permission to access openedge-function. is it correct?
from baetyl.
@tongtongxiaopeng1979
Yeah, actually, all module messages need to go through the hub module, and messages processing depends on rule config
.
from baetyl.
@tongtongxiaopeng1979 先问个问题:如果消息(数据)已经上云了,为何不在云端继续处理消息?比如使用CFC。OpenEdge的使用场景是在边缘采集和处理消息,然后上云,而不是反过来。
Ask a question first: If the message (data) is already in the cloud, why not continue to process the message in the cloud? For example, use CFC. The use of OpenEdge is to collect and process messages at the edge and then send to the cloud instead of the other way around.
from baetyl.
@ludanfeng
You are right, it is typical use case for the data path you mentioned . But there is a special use case that need to use FAAS in the openEdge to implement communication with other application or platform in the same host.
这个用例比较特殊,如果openEdge是架构在用户其他平台上面,用户可能会利用openedge FC功能和用户其他平台进行交互。该交互可以由远程一个client触发。
from baetyl.
@tongtongxiaopeng1979 你看看下面几种方式哪个更适合你们:
- [TODO]openedge的函数计算直接暴露grpc接口,提供给远程grpc client调用
- [TODO]openedge支持远程mqtt server直接作为本地hub使用,即把mqtt remote当做本地hub
- 如同 @kuailehaibin 描述的方案将远程消息先使用mqtt client发送到openedge的本地hub,再通过路由规则触发函数计算
为了提高沟通效率,是否可以加微信群?
from baetyl.
@ludanfeng 先按照mengtao的方法吧,我们公司不是做行业应用和业务的,只不过我手边有个项目有个特殊需求而已。
至于 1 和 2 做不做,还是你们和行业客户来决定吧。
好的,已经加入沟通交流微信群了。 这个问题我先关闭,谢谢你们指导 : )
from baetyl.
Related Issues (20)
- Switch runtime information to /var/lib/baetyl
- baetyl中功能函数(.py)无法引入第三方依赖包问题 HOT 1
- gen.sh目录结构不对
- Failed to build
- Move key.public to github secret
- Makefile:24: recipe for target 'baetyl' failed HOT 2
- 新手教程 HOT 3
- SSL certificate expired for baetyl.io HOT 1
- GPU share的支持如何使用 HOT 1
- 关于baetyl 2.2 支持Edgex Foundry 的疑问 HOT 2
- baetyl应用使用私用镜像仓库凭证的问题 HOT 1
- 关于gpu监控功能 HOT 1
- 请问2.2版本,有关和edgex foundry集成的部分在哪里呢? HOT 1
- baetyl可以单独使用吗,不和baetyl-cloud结合,是否有相关操作文档 HOT 1
- 【咨询】当前项目是什么状态,是否可以继续使用?
- baetyl 开源版本和企业版本有什么区别?只是开源版本没有dashboard 其它都是提供了?需要自己实现dashboard? HOT 1
- 【咨询】有关最多支持的边缘节点数量疑问
- 【功能建议】deployment 增加策略选择选项
- Feature suggestion: Add image preloading functionality.
- service deployment fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from baetyl.