How to : Multiple core devices and subscriptions across all core devices

0

Hi,
What I am trying to achieve is having a group of multiple core devices, where the lambda functions gets executed, and these devices will have to send and receive messages across these devices.
these are my questions regarding the same,

  1. Can I have a group with only core devices?
  2. In the above mentioned case, the same lambda functions will be running on all the cores, so in this case, how to create the subscriptions as the target and source will be the lambda functions?

Please advise on the same.

Thanks.

Edited by: mockingBird on Jan 11, 2019 12:22 AM

已提問 5 年前檢視次數 252 次
5 個答案
0

Hi MockingBird,

  1. No. You can have a group with only a core. However, you can only have one core per group.
  2. If you launch multiple groups you would setup a subscription from Lambda -> IoT Cloud and from IoT Cloud -> Lambda for each group.

Can you tell me a bit more about your use case and what you're trying to do?

Thanks,
Keagen

AWS
KR-AWS
已回答 5 年前
0

Hi Keagen,
Thanks for your reply.
What we are trying to achieve is, we have a set of sensors, and we want to crunch the data there itself, that means we prefer to execute the lambda in each of these device, and all these devices should communicate each other to share some data for their processing, that means all these devices need to be in a group.
So could you please suggest a proper way to do the same

Thanks,

已回答 5 年前
0

Some more clarification needed

已回答 5 年前
0

Hi mockingBird,

Currently there isn't an easy way to communicate from core A to core B without going through the IoT Cloud. You can make core A a device for core B and vice versa. However, MQTT from device to core is only QoS 0. You'll need to handle missing/lost messages in your application.

Please let me know if you have any other questions.
Thanks,
Keagen

AWS
KR-AWS
已回答 5 年前
0

Thanks a lot Kaegan

已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南