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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ