akka/akka-core

streams ActorRefSourceActor - option to ask its actual buffer usage

Open

#25,402 opened on Jul 28, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Scala (3,547 forks)batch import
1 - triagedhelp wantedt:stream

Repository metrics

Stars
 (13,277 stars)
PR merge metrics
 (Avg merge 8d 19h) (10 merged PRs in 30d)

Description

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

Contributor guide