<div dir="ltr"><div>Hey all,</div><div><br></div><div>I'm wondering if anyone knows whether or not unit will generate any sort of event on a configuration change.</div><div><br></div><div>The reason I ask is that it would seem to be handy to have an event generated when a config is updated. <br></div><div><br></div><div>I've been playing around with a peer to peer configuration sync between instances. <br></div><div><br></div><div>Think of it this way:</div><div><br></div><div>- Nodes boot up and join a mesh network</div><div>- Nodes join a peer to peer pub sub message system (no central broker here as it's peer to peer)</div><div>- I have a REST API endpoint that allows me to consume a message that is then sent to all nodes that are subscribed to the topic</div><div><br></div><div>Presently, I can send a message saying "there is a config update" and all nodes that are subscribed to config updates will come and get the config from the node that published the message.</div><div><br></div><div>It would be cool if there were an event generated that I could listen for though.</div><div><br></div><div>It's a work in progress, and frankly at the moment is a bit experimental :), remember that it's peer to peer so at any point in time, any node can say "I have new config" and all other nodes will pull from the one that published the message.<br></div><div><br></div><div>svk.<br></div></div>