Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1369

Instrument Source.queue

$
0
0

:wave: 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

Read full topic


Viewing all articles
Browse latest Browse all 1369

Latest Images

Trending Articles



Latest Images