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

질문됨 10달 전188회 조회
1개 답변
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
전문가
답변함 10달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠