Not receiving MQTT messages in our component in greengrass when deployed from cloud console

0

We are not receiving MQTT messages in our components which we are deploying from Cloud console on Greengrass Edge. On the contrary the same components when locally deployed (not deployed from cloud) are receiving MQTT messages. note: This is MQTT message which is published by other custom component on the greengrass edge.

Log message says the component is successfully deployed and running

asked 9 months ago182 views
1 Answer
1

How are you sending "MQTT messages"? It sounds to me like you're maybe sending local publish/subscribe messages using IPC https://docs.aws.amazon.com/greengrass/v2/developerguide/ipc-publish-subscribe.html? If so, local pub/sub is NOT MQTT. If you want to send MQTT messages to IoT Core, then use the IPC method to send messages to IoT Core: https://docs.aws.amazon.com/greengrass/v2/developerguide/ipc-iot-core-mqtt.html.

If you're talking about local MQTT messages using the local MQTT broker, then again, those messages stay local unless you explicitly make them go to IoT Core using the MQTT Bridge. https://docs.aws.amazon.com/greengrass/v2/developerguide/mqtt-bridge-component.html

Cheers, Michael

AWS
EXPERT
answered 9 months 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.

Guidelines for Answering Questions