Hi, I've committed a new discovery api module to the contrib section (an implementation will follow soon).
The discovery API can be used to connect instances and exchange capabilities. Services interested in the current topology can implement a listener interface and they get called for the initial topology and updates thereof. In addition, the discovery does also a leader selection, so one instance is picked as a central instance. This one can be used for syncing tasks in a cluster. The main reason for this new API are some enhancements to the Sling job handling which allow for better distribution of jobs in a cluster than we have today. Regards Carsten -- Carsten Ziegeler [email protected]
