There is this design doc that was circulating a few months back, but I'm not sure what the status of it is:
https://docs.google.com/document/d/1b2gheqWPw4V-60RdKu-dGWTy-qLGL5p5xJwmUXteDYE/edit?pli=1#heading=h.86u1r3w05n13 On Fri, Mar 25, 2016 at 10:02 AM, Zhitao Li <zhitaoli...@gmail.com> wrote: > Hi, > > Has anyone thought about the idea of building some kind of event bus > (similar to what Marathon provided) directly inside Mesos? > > What I roughly have in mind: > > 1. The HTTP API effort already defined a very rich set of events, which > Mesos master/agent could send to scheduler/executor; > 2. We could build an HTTP endpoint like `/v1/events`, which utilizes the > same mechanism of HTTP scheduler/executor API and allows a *subscriber* to > subscribe to event streams; > 3. Some kind of filter rules as well as authorization is definitely > needed for both reducing traffic and enforce ACL. > > Possible use cases I could image: > > 1. Pipe event streams to external database for analysis/archiving; > 2. Faster notification to external service discovery systems like > Mesos-DNS w/o requiring it to poll /state from master; > 3. Notification to other long running daemons for newly launched/killed > tasks at a Mesos agent > > Please let me know what you think. > > Thanks! > > -- > Cheers, > > Zhitao Li -- ~Kevin