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

Barbara Gomes commented on IOTA-36:
-----------------------------------

Example of how to specify a Global Performer:

{code:json}
{
  "guid": "GLOBAL-PERFORMER",
  "command": "RECREATE",
  "timestamp": "127864936906",
  "name": "TESTING FILE SUB",
  "global-performers" : 
    [
      {
        "guid": "MQTT-PUB-GLOBAL",
        "schedule": 0,
        "backoff": 0,
        "source": {
          "name": "fey-mqtt.jar",
          "classPath": "org.apache.iota.fey.performer.MQTT_Publisher",
          "parameters": {
            "port":"8883",
            "target":"localhost",
            "topic":"global/perfomers",
            "user_env":"MQTT_USER",
            "password_env":"MQTT_PASSWORD",
            "max_in_flight":"15",
            "reconnect_time":"5000",
            "connect_time":"10000"
          }
        }
      }
    ]
  ,
  "ensembles": [
    {
      "guid": "RECEIVER",
      "command": "NONE",
      "performers": [
       {
          "guid": "HEARTBEAT",
          "schedule": 1000,
          "backoff": 0,
          "source": {
            "name": "fey-stream.jar",
            "classPath": "org.apache.iota.fey.performer.Heartbeat",
            "parameters": {}
          }
        }
      ],
      "connections": [{"HEARTBEAT":["MQTT-PUB-GLOBAL"]}]
    }
  ]
}
{code}

> Capability for a performer within an ensemble to talk to a global level 
> performer outside the ensemble
> ------------------------------------------------------------------------------------------------------
>
>                 Key: IOTA-36
>                 URL: https://issues.apache.org/jira/browse/IOTA-36
>             Project: Iota
>          Issue Type: Improvement
>            Reporter: Omkar Prabhu
>            Assignee: Barbara Gomes
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> It would be a great improvement if performers within an ensemble can 
> communicate with performers outside their ensemble at a global level. 
> This can decrease repetitive performers across ensembles. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to