Greengrass v2 IPC IoT Core messaging limits

0

When sending messages through the IPC IoT Core MQTT system ( https://docs.aws.amazon.com/greengrass/v2/developerguide/ipc-iot-core-mqtt.html ) , is there a limit to the number of messages queued / age of messages sent if the greengrass system is not currently able to connect to IoT?

Are they the same limits as on https://docs.aws.amazon.com/general/latest/gr/iot-core.html#message-broker-limits ?

Background: I'm using a greengrass component to send messages to IoT Core, and want to know if I should store / buffer data if the system is offline, or can I just let the IPC service handle sending the data when the device comes back online?

已提問 3 年前檢視次數 624 次
1 個回答
0

Greengrass is a normal AWS IoT Thing, so all the regular MQTT limits imposed by IoT Core do apply in the same way.

Greengrass v2 has a message spooler for saving messages while offline. I'd recommend that you have a look at the Nucleus component configuration here: https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration specifically the "spooler" section. It allows you to configure the amount of messages to keep (by bytes) and whether to keep or drop QoS 0 messages. Currently the spooler is only in-memory, so if Greengrass restarts the messages will still be lost.

Cheers,
Michael Dombrowski

AWS
專家
已回答 3 年前

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

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

回答問題指南