You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Zhitao Li (JIRA)" <ji...@apache.org> on 2016/08/12 02:23:20 UTC

[jira] [Created] (MESOS-6034) Adding Subscribe and event stream to agent Operator API

Zhitao Li created MESOS-6034:
--------------------------------

             Summary: Adding Subscribe and event stream to agent Operator API
                 Key: MESOS-6034
                 URL: https://issues.apache.org/jira/browse/MESOS-6034
             Project: Mesos
          Issue Type: Improvement
          Components: HTTP API
            Reporter: Zhitao Li


Use case:

We have local daemons at every machine in the cluster. They often need to know what tasks is running at the local host and perform operations.

Right now they can only poll `/state` endpoint or operator API. Let them able to subscribe task changes on the agent seems a good improvement.

The only to be actively notified otherwise is to implement part of all logic as a hook, but I think doing this directly in agent is better and easier for everyone.

For MPV, something similar to current master API's `TASK_ADDED` and `TASK_STATUS` seems pretty good starter.



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