[ 
https://issues.apache.org/jira/browse/QUARKS-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235882#comment-15235882
 ] 

ASF GitHub Bot commented on QUARKS-131:
---------------------------------------

GitHub user dlaboss opened a pull request:

    https://github.com/apache/incubator-quarks/pull/86

    [QUARKS-131] [WIP] supply an alias for a stream's control services

    Looking for feedback for changes to the API.
    Impl will follow once this is settled.
    
    Note: relocated PeriodicMXBean as pure Topology/TStream users should not
    have to know anything about the quarks.oplet domain.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dlaboss/incubator-quarks 
quarks-131-controlServiceAlias

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-quarks/pull/86.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 #86
    
----
commit 3c7877974fbcde5242ae84ee6ff522cbcffa5589
Author: Dale LaBossiere <[email protected]>
Date:   2016-04-11T20:05:33Z

    [QUARKS-131] [WIP] supply an alias for a stream's control services
    
    Looking for feedback for changes to the API.
    Impl will follow once this is settled.
    
    Note: relocated PeriodicMXBean as pure Topology/TStream users should not
    have to know anything about the quarks.oplet domain.

----


> need easy way to get PeriodicMXBean associated with a poll() invocation
> -----------------------------------------------------------------------
>
>                 Key: QUARKS-131
>                 URL: https://issues.apache.org/jira/browse/QUARKS-131
>             Project: Quarks
>          Issue Type: Improvement
>            Reporter: Dale LaBossiere
>            Assignee: Dale LaBossiere
>
> I think we're missing some API is missing to make this all usable.
> A Topology/TStream domain user needs an easy way to get the PeriodicMXBean 
> for a particular Topology.poll() invocation. 
> The PeriodicSource oplet implements PeriodicMXBean which allows changing the 
> period.  
> The only demonstrated use is by 
> DirectJobTest.jobPeriodicSourceCancellation(), which iterates over the 
> Topology's underlying graph for instanceof PeriodicSource oplet (it's the 
> only ProcessSource oplet in the graph for this test).  
> That's certainly not easy / convenient / nor in the "TStream" domain the user 
> is mostly operating in.
> [~djd] [~vdogaru] what schemes for addressing this have already been 
> considered / decided?  Some sort of "control bean registry service" where a 
> user gets to supply a name (e.g., to poll()) and the runtime registers the 
> bean (e.g., PeriodicMXBean) under that name?  If there's not a concrete plan 
> lets work on that here.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to