Sharing AWS MQTT Connection between process #448
-
In the project in which I'm working, we are going to perform provisioning on our device which is going to receive a certificate and assign it to a But, as AWS Documentation makes it clear, two devices can not use the same Therefore I would like to know: One solution might be to create a "centralized" process to handle the MQTT Connection and make the other process communicate to this "central" process over IPC, but I was wondering if there's another possible solution for this matter. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You can't share the MQTT connection between processes, but like you suggested you could create a centralized process to handle the MQTT connection. Something you might want to look into is using greengrass components and using a different component for each of your processes. Let me know if you have any more questions about this |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
You can't share the MQTT connection between processes, but like you suggested you could create a centralized process to handle the MQTT connection. Something you might want to look into is using greengrass components and using a different component for each of your processes. Let me know if you have any more questions about this