GitHub user vdogaru opened a pull request:
https://github.com/apache/incubator-quarks/pull/9
QUARKS-8 [WIP] Restart topology on uncaught exception
[Job registry and sample
monitoring](https://github.com/apache/incubator-quarks/commit/6587c5c4c66104d386585349d1e74439c8ca95cd)
contains:
* JobRegistryService which allows clients to register jobs, access
registered jobs, and get notified when jobs are added / removed / updated. Job
event handlers are BiConsumer implementations which take an event type and the
related Job instance as arguments
* JobRegistry - JobRegistryService implementation used by the ETIAO runtime
* Sample code demonstrating a system monitoring application which polls
the registry for the current state of registered jobs.
Does it sound like I am on the right track here? I'd appreciate some early
feedback.
The following are still to be done:
* Sample system monitoring application using events rather than polling.
* System app which restarts closed jobs
* Tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vdogaru/incubator-quarks QUARKS-8-vdogaru
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-quarks/pull/9.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #9
----
commit 6587c5c4c66104d386585349d1e74439c8ca95cd
Author: Victor Dogaru <[email protected]>
Date: 2016-03-14T18:11:12Z
Job registry and sample monitoring app
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---