Skip to content

Greengrass local MQTT retained flag

0

Does the Greengrass MQTT broker and IPC library support retained messages for local messages. For example component to component?

Looking at the C++ IOT SDK, I can't find any way to set the retained flag in the PublishToTopicRequest class.

I see the term "MQTT" thrown around quite a bit around the topic of AWS IPC, but it appears that AWS IPC does not use or implement any MQTT transport or spec?

asked 2 years ago182 views

1 Answer
2
Accepted Answer

IPC is a separate mechanism from MQTT and we have our IPC pubsub docs here: https://docs.aws.amazon.com/greengrass/v2/developerguide/ipc-publish-subscribe.html. The retained messages flag is a MQTT v5 feature and there is no equivalent in IPC, so you will not be able to set such a flag when sending IPC messages. The flag should still work with any MQTT messaging you might be doing on your device.

AWS

answered 2 years ago

AWS
EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.