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

Barbara Gomes edited comment on IOTA-24 at 7/6/16 10:12 PM:
------------------------------------------------------------

JSON Schema example:

{code}
"performers":[
        {
                "guid": "SUBSCRIBER",
                "schedule": 0,
                "backoff": 0,
                "autoScale": 10,
                "controlAware":true,
                "source": {
                        "name" : "fey_zmq.jar",
                        "classPath" : 
"org.apache.iota.fey.performer.ZMQSubscriber",
                        "parameters" : {
                                "zmq_port" : "5576",
                                "zmq_target" : "localhost",
                                "zmq_topic" : "",
                                        "zmq_bind" : "true"
                        }
                }
        }
]
{code}


was (Author: bmgomes):
JSON Schema example:

{code}
"performers":[
                                {
                                        "guid": "SUBSCRIBER",
                                        "schedule": 0,
                                        "backoff": 0,
                                        "autoScale": 10,
                                        "controlAware":true,
                                        "source": {
                                                "name" : "fey_zmq.jar",
                                                "classPath" : 
"org.apache.iota.fey.performer.ZMQSubscriber",
                                                "parameters" : {
                                                        "zmq_port" : "5576",
                                                        "zmq_target" : 
"localhost",
                                                        "zmq_topic" : "",
                                                "zmq_bind" : "true"
                                                }
                                        }
                                }
                        ],
                        "connections":[]
                }
{code}

> Offer control-aware mailbox to Performers
> -----------------------------------------
>
>                 Key: IOTA-24
>                 URL: https://issues.apache.org/jira/browse/IOTA-24
>             Project: Iota
>          Issue Type: New Feature
>    Affects Versions: 0.1
>            Reporter: Barbara Gomes
>            Assignee: Barbara Gomes
>            Priority: Minor
>
> Fey uses only the Default mailbox for all of the Performers started.
> We need to offer the developer the possibility of defining which mailbox 
> should the Performer use.
> As the possible mailbox to be used should be configure before the ActorSystem 
> gets created, in the application config, we will start with an small step and 
> offer the developer the possibility to choose if the Performer will use the 
> Default mailbox or a control-aware mailbox.
> *Note* - Suggestions on how can we add a new dispatcher configuration to the 
> ActorSystem after it has started would be appreciated.



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

Reply via email to