[ 
https://issues.apache.org/jira/browse/MESOS-5220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gavin updated MESOS-5220:
-------------------------
    Comment: was deleted

(was: www.rtat.net)

> Add ability to insert events on the HTTP connection response stream for 
> testing.
> --------------------------------------------------------------------------------
>
>                 Key: MESOS-5220
>                 URL: https://issues.apache.org/jira/browse/MESOS-5220
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Anand Mazumdar
>            Priority: Major
>              Labels: integration, mesosphere
>
> We need an ability to insert events in a response stream. Currently, there is 
> no way to spoof events on a response stream in the HTTP API for testing. 
> Let's take an example:
> A framework registers with the master and the master opens a persistent 
> stream for sending events to the framework. It is presently impossible to 
> _insert_ events on this stream e.g., spoof a {{Event::ERROR}} from the master 
> . 
> Previously, for old driver based frameworks using {{libprocess}} message 
> passing we were able to invoke {{process::send}} to send such messages. This 
> is also needed for spoofing events from agent->executor. In the future the 
> internal master<->agent communication might also need this when we move it to 
> the HTTP API.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to