Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Currently users can add an indefinite number of replications to the queue. This is problematic as the end to end latency increases with the queue size.
So it makes sense to have a limit on the queue size.
If the limit is reached we should:
- Block for a certain time to wait for the queue size to become smaller
- Fail after the timeout with an exception ( in case of http call we could fail with 429 or 503)
Metric for queue size limit reached.
As the changed behaviour might break user code we should make the limiting behaviour opt in via a PublisherConfiguration.