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년 전627회 조회
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인