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

gefragt vor 10 Monaten188 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor 10 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen