everybody!
I’d like to gauge the saturation of the buffer maintained by the Source
returned by Source.queue
. Is there any known pattern (or out-of-the-box component) to achieve this?
I’m under the impression that this is not really possible and that the cleanest way to do this (without re-implementing the QueueSource
graph stage) is to use Source.actorRef
with bufferSize = 0
and maintain (and gauge) the queue inside it.
3 posts - 1 participant