Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Oracle and Worker to API #647

Closed
keith-turner opened this issue Apr 21, 2016 · 0 comments
Closed

Add Oracle and Worker to API #647

keith-turner opened this issue Apr 21, 2016 · 0 comments

Comments

@keith-turner
Copy link
Contributor

Inorder to easily support different methods of running Fluo (for example Mesos), it would be nice to add the Oracle to API. Maybe something like the following :

    FluoConfiguration conf = ...;
    Oracle oracle = FluoFactory.newOracle(conf);
    oracle.start();
    //wait for signal to shutdown
    oracle.stop();

Worker is too generic... thinking NotificationProcessor may be a better name to use in the API.

   FluoConfiguration conf = ...;
   NotificationProcessor ntfyProc = FluoFactory.newNotificationProcessor(conf);
   ntfyProc.start();
   //wait for signal to shutdown
   ntfyProc.stop();

Could possibly implement Guava Service

mikewalch added a commit to mikewalch/fluo that referenced this issue Jun 15, 2016
mikewalch added a commit to mikewalch/fluo that referenced this issue Jun 15, 2016
mikewalch added a commit to mikewalch/fluo that referenced this issue Jun 15, 2016
mikewalch added a commit to mikewalch/fluo that referenced this issue Jun 16, 2016
mikewalch added a commit to mikewalch/fluo that referenced this issue Jun 16, 2016
@asfgit asfgit closed this as completed in 2b2d784 Jun 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant