+doc #17569: Mention no support of "backpressure" strategy on Source.actorRef

This commit is contained in:
Endre Sándor Varga 2015-07-09 10:18:18 +02:00
parent bf47c93504
commit 333a006bf1
4 changed files with 12 additions and 2 deletions

View file

@ -324,6 +324,9 @@ object Source extends SourceApply {
* Depending on the defined [[akka.stream.OverflowStrategy]] it might drop elements if
* there is no space available in the buffer.
*
* The strategy [[akka.stream.OverflowStrategy.backpressure]] is not supported, and an
* IllegalArgument("Backpressure overflowStrategy not supported") will be thrown if it is passed as argument.
*
* The buffer can be disabled by using `bufferSize` of 0 and then received messages are dropped
* if there is no demand from downstream. When `bufferSize` is 0 the `overflowStrategy` does
* not matter.