[ https://issues.apache.org/jira/browse/QPID-3080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001450#comment-13001450 ]
Ken Giusti commented on QPID-3080: ---------------------------------- As implemented, there is no time-based dampening. But the events are governed by the same hysteresis that prevents the thrashing of flow control state (a separation between the 'active' and 'inactive' thresholds). So it depends - based on configuration and traffic flow, it has the potential of being quite frequent. To be honest, I'm not 100% convinced on the necessity of this feature - especially in light of Gordon's recent implementation of queue threshold events. If someone really wanted events on flow control changes, they _could_ be manually configured on a per-queue basis using the new queue threshold event feature. I'm leaning toward to deferring this, unless there is an overwhelming consensus to add it. Opinions? > Broker should issue QMF event on queue flow control state change > ---------------------------------------------------------------- > > Key: QPID-3080 > URL: https://issues.apache.org/jira/browse/QPID-3080 > Project: Qpid > Issue Type: Bug > Components: C++ Broker > Affects Versions: 0.9 > Environment: all > Reporter: Ken Giusti > Assignee: Ken Giusti > Priority: Trivial > Fix For: 0.9 > > Attachments: QPID-3080.patch > > > When a queue's flow control state changes, the broker should issue an QMF > event to notify management clients. > A rough sketch of a possible schema implementation for the event: > <eventArguments> > .... > <arg name="qName" type="sstr" desc="Name of a queue"/> > <arg name="msgDepth" type="count32" desc="Current size of queue in > messages"/> > <arg name="byteDepth" type="count32" desc="Current size of queue in > bytes"/> > <arg name="active" type="bool" desc="True if flow stopped, else flow > allowed"/> > </eventArguments> > <event name="queueFlowControl" sev="inform" args="qName, active, > msgDepth, byteDepth"/> -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org