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

posta 10 mesi fa188 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 10 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande