1 Answer
- Newest
- Most votes
- Most comments
0
Hello, if you wish to use the Moquette broker to communicate between components, then each component would need a certificate in order to communicate with the broker. Although this is possible, it is recommended to use local pub/sub through Greengrass IPC to communicate between components. Since IPC does not support sending retained MQTT messages, I recommend taking a look at using local shadows.

Thanks for the response, may I know why is IPC Pub/Sub preferred/recommended over Moquette broker for internal communication ?
Greengrass components are already authenticated, and hence can use IPC without any SSL certificate stuff. QoS isn't needed because IPC messages between components don't leave the device. It's not wrong to use an MQTT broker though, it's just more work. You can use the client devices feature to authenticate the MQTT clients. It's even possible to deploy an MQTT broker without TLS.
@Greg_B Thanks for the explanation, also from performance stand point, is IPC better than Moquette - are there any bench mark stats to show it?