QubitProducts / bamboo

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

how does bamboo know the change in marathon #201

Closed bravowhale-jenkins closed 8 years ago

bravowhale-jenkins commented 8 years ago

first ,sorry for my english bamboo ,zookeeper,marathon ,what's the relationship between them? when something changes in marathon,zookeeper will knows ,and bamboo will pull the change,because bamboo listen on a port ? is that right ? but when zookeeper connection timeout ,and something change in marathon ,bamboo will never get the change ,that's a probolem .

lowstz commented 8 years ago

You can check the marathon Event-Bus and Event Stream API

https://mesosphere.github.io/marathon/docs/event-bus.html https://mesosphere.github.io/marathon/docs/generated/api.html#v2_events_get

bravowhale-jenkins commented 8 years ago

@lowstz thank you