2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
my component is actually subscribed to topic so I can't receive another type of messages (supposedly)
You should be able to subscribe to local messages and to the ComponentUpdates in the same GGv2 component. Both events will be handled by different callback functions, maybe this tutorial helps: https://docs.aws.amazon.com/greengrass/v2/developerguide/defer-component-updates-tutorial.html
0
Thanks for the answer! Does this mean that my component should be able to subscribe to local messages and ComponentUpdates at the same time? How could I do that if (as you say before) the events will be handled by different callback functions? Do I need one StreamHandler? I'm sorry but I can't see a solution for that.
Thanks again for the answer!
beantwortet vor 2 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr