Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-5220

Add ability to insert events on the HTTP connection response stream for testing.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Accepted
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              anandmazumdar Anand Mazumdar
              Vinod Kone Vinod Kone
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: