)]}'
{"specs/kilo/notification-dispatcher-filter.rst":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"c94e5b64d347dd7dfffa8047c0fa488c8c92e97b","unresolved":false,"context_lines":[{"line_number":44,"context_line":"endpoints. It is after the endpoints receive the messages are we able to filter"},{"line_number":45,"context_line":"and decide whether the endpoint should process the notifications. This decision"},{"line_number":46,"context_line":"can be made earlier before it dispatches messages to the endpoints to avoid"},{"line_number":47,"context_line":"the overhead of sending messages to endpoints which will ignore them."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a890539_6e401936","line":47,"updated":"2014-11-19 21:31:43.000000000","message":"How does the sender know which recipients will ignore which messages? It sounds like this is primarily going to be used in ceilometer, can you give a more detailed description of the use case being solved?","commit_id":"ed4b08f877ebbe9a1d9a715c6e838be100c300bc"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"f14594fc4af3169ade93f2137bf12afd4d27d93c","unresolved":false,"context_lines":[{"line_number":44,"context_line":"endpoints. It is after the endpoints receive the messages are we able to filter"},{"line_number":45,"context_line":"and decide whether the endpoint should process the notifications. This decision"},{"line_number":46,"context_line":"can be made earlier before it dispatches messages to the endpoints to avoid"},{"line_number":47,"context_line":"the overhead of sending messages to endpoints which will ignore them."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a961159_a175e4cd","line":47,"in_reply_to":"5a890539_4eec3dc8","updated":"2014-12-15 20:34:43.000000000","message":"Thanks for clarifying.","commit_id":"ed4b08f877ebbe9a1d9a715c6e838be100c300bc"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"1b2a03352e2731f8546c15f5e6d426cc63370cfe","unresolved":false,"context_lines":[{"line_number":44,"context_line":"endpoints. It is after the endpoints receive the messages are we able to filter"},{"line_number":45,"context_line":"and decide whether the endpoint should process the notifications. This decision"},{"line_number":46,"context_line":"can be made earlier before it dispatches messages to the endpoints to avoid"},{"line_number":47,"context_line":"the overhead of sending messages to endpoints which will ignore them."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a890539_4eec3dc8","line":47,"in_reply_to":"5a890539_6e401936","updated":"2014-11-19 22:03:26.000000000","message":"so this isn\u0027t about the sender knowing who to send to.\n\nwhen a listener connects to a target, the listener pulls messages off the queue and passes it to all endpoints associated with the listener[1]. currently, it\u0027s only after each endpoint receives the message do we decide whether this endpoint needs to process it or not[2]. rather than making the decision at the endpoint, this can be done earlier when the listener is distributing the messages to it\u0027s endpoints.\n\ni wouldn\u0027t say this is ceilometer specific. i would think many non-generic listeners would not need/want to process every single message on the queue.\n\n  [1] https://github.com/openstack/oslo.messaging/blob/master/oslo/messaging/notify/listener.py#L101-L121\n  [2] https://github.com/openstack/ceilometer/blob/master/ceilometer/plugin.py#L117-L121","commit_id":"ed4b08f877ebbe9a1d9a715c6e838be100c300bc"}]}
