QubitProducts / bamboo

HAProxy auto configuration and auto service discovery for Mesos Marathon
Apache License 2.0
793 stars 214 forks source link

Please support event streaming #149

Closed bsideup closed 8 years ago

bsideup commented 9 years ago

https://mesosphere.github.io/marathon/docs/rest-api.html#event-stream

with Marathon 0.9.0 events could be accessed by listening for event stream, which means that it's no longer required to specify bamboo's callback URL in Marathon.

This would greatly improve installation process of bamboo and also will allow to scale bamboo without re-specifying event_listeners

lclarkmichalek commented 9 years ago

Sounds like a very good feature. Will have to keep the existing backend for compatability, but streaming should improve matters going forwards

bsideup commented 9 years ago

@bluepeppers cool, thanks

bsideup commented 9 years ago

@bluepeppers this link could be helpful:

http://tiebing.blogspot.com/2014/06/golang-http-client-server-sent-event.html

BTW maybe you need help with implementation?

lclarkmichalek commented 9 years ago

If you want to take a shot at it, PR are always welcome. Will poke at it over the weekend probably. Thanks for the link.

bsideup commented 9 years ago

@bluepeppers ok, will try. Any chance of mentorship if I will have questions?:)

lclarkmichalek commented 9 years ago

Sure :) Feel free to send me an email if you have any specific questions: laurie@qubit.com

bsideup commented 9 years ago

@bluepeppers here we go: https://github.com/QubitProducts/bamboo/pull/151 :)

xiaods commented 8 years ago

+1