You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Anand Mazumdar (JIRA)" <ji...@apache.org> on 2016/04/14 21:19:25 UTC

[jira] [Created] (MESOS-5220) Add ability to insert events on the HTTP connection response stream for testing.

Anand Mazumdar created MESOS-5220:
-------------------------------------

             Summary: 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: Bug
            Reporter: Anand Mazumdar


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
(v6.3.4#6332)