Replies: 3 comments 4 replies
-
|
Beta Was this translation helpful? Give feedback.
-
you can subscribe to component events: https://docs.aws.amazon.com/greengrass/v2/developerguide/ipc-component-lifecycle.html#ipc-operation-subscribetocomponentupdates |
Beta Was this translation helpful? Give feedback.
-
The only local solution is to use GetComponentDetails to get the status of each component. This might not fix your exact use case because it's something that you have check yourself. Please let me know if you have any questions about this |
Beta Was this translation helpful? Give feedback.
-
I have 2 apps running as green grass components.
when one of the apps crashes for some reason, the other app/component should be notified via local pub/sub mechanism - but the crashing app cannot "publish" its status here.
Is there a way that Green Grass nucleus notifies such status changes, crashes of components, to other running components?
Need to use pub-sub model here and NOT direct http rest api calls.
How to achieve this in aws green grass?
Any help is appreciated!
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions