-
Task
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
Documentation (Ref Guide, User Guide, etc.), Release Notes
-
Low
-
Not Yet Documented
Add slow-consumer detection on outgoing links based on address-specific configuration and link metrics. The following attributes shall be added to the address configuration:
- slowConsumerRate - This optional attribute, if present, shall enable slow-consumer detection for consumers using the configured address (pattern or prefix).
- slowConsumerBacklog - (defaults to 10) This attribute works with slowConsumerRate to enable slow-consumer detection.
When enabled for an address, slow consumer detection shall operate as follows: If the backlog of unsettled deliveries (undelivered + unsettled) for an outgoing link to an endpoint exceeds slowConsumerBacklog and the five-second average rate of that link is less than or equal to slowConsumerRate, then the link shall be flagged as "slow".
Slow-link status may be queried per link. There shall also be a global counter for the number of links that are currently in "slow" state. Log events shall be emitted to notify of the existence of slow links.