[ https://issues.apache.org/jira/browse/MESOS-6552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anand Mazumdar updated MESOS-6552: ---------------------------------- Description: Currently, the v1 Master API allows an operator to subscribe to events happening on their clusters e.g., any time a new task is launched/updated. However, there is no ability currently for a subscriber to express its interest in a particular subset of events on the master e.g, only in agent related events (add/removal) etc. This would also take care of use cases where a subscriber would be short lived i.e., is only interested to see if a particular task has been launched on the cluster by the framework and then close its connection thereafter. Currently, such subscribers also receive the entire snapshot of the cluster via the {{SNAPSHOT}} events that can be rather huge for production clusters (we also don't support compression on the stream yet). Such subscribers in the future would be able to opt out of this event. was: Currently, the v1 Master API allows an operator to subscribe to events happening on their clusters e.g., any time a new task is launched/updated. However, there is no ability currently for a subscriber to express its interest in a particular subset of events on the master e.g, only in task add/updated events This would also take care of use cases where a subscriber would be short lived i.e., is only interested to see if a particular task has been launched on the cluster by the framework and then close its connection thereafter. Currently, such subscribers also receive the entire snapshot of the cluster via the {{SNAPSHOT}} events that can be rather huge for production clusters (we also don't support compression on the stream yet). Such subscribers in the future would be able to opt out of this event. > Add ability to filter events on the subscriber stream for Master API. > --------------------------------------------------------------------- > > Key: MESOS-6552 > URL: https://issues.apache.org/jira/browse/MESOS-6552 > Project: Mesos > Issue Type: Improvement > Reporter: Anand Mazumdar > Labels: mesosphere > > Currently, the v1 Master API allows an operator to subscribe to events > happening on their clusters e.g., any time a new task is launched/updated. > However, there is no ability currently for a subscriber to express its > interest in a particular subset of events on the master e.g, only in agent > related events (add/removal) etc. > This would also take care of use cases where a subscriber would be short > lived i.e., is only interested to see if a particular task has been launched > on the cluster by the framework and then close its connection thereafter. > Currently, such subscribers also receive the entire snapshot of the cluster > via the {{SNAPSHOT}} events that can be rather huge for production clusters > (we also don't support compression on the stream yet). Such subscribers in > the future would be able to opt out of this event. -- This message was sent by Atlassian JIRA (v6.3.4#6332)