akka/akka-core

Generalize Split strategies

Aperta

#19.253 aperta il 21 dic 2015

 (3 commenti) (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

Split currently only supports one of SplitBefore and SplitAfter where all elements ultimately land in one of the to substreams.

A combination of both could emit more than two substreams where elements outside of these start and end markers are dropped.

This could render StreamUtils.sliceBytesTransformer redundant which is currently used in RangeDirectives.

Guida contributor