akka/akka-core

streams ActorRefSourceActor - option to ask its actual buffer usage

Aperta

#25.402 aperta il 28 lug 2018

 (1 commento) (0 reazioni) (0 assegnatari)Scala (3547 fork)batch import
1 - triagedhelp wantedt:stream

Metriche repository

Star
 (13.277 stelle)
Metriche merge PR
 (Merge medio 8g 19h) (10 PR mergiate in 30 g)

Descrizione

If I would like to start a Source.actorRef, I need to add an explicit buffer size. In the early stages of development and testing, and later in production monitoring; it would be nice if we could get back the buffer usage information from the actor.

If other thinks this is a good idea, I will PR this.

Ref: https://discuss.lightbend.com/t/websocket-stream-actor-buffersize-usage-monitoring-and-options/1718

Guida contributor