akka/akka-core

Generalize Split strategies

开放

#19,253 创建于 2015年12月21日

 (3 条评论) (0 个反应) (0 位负责人)Scala (3,547 个派生)batch import
1 - triagedhelp wantedt:stream

仓库指标

星标
 (13,277 个星标)
PR 合并指标
 (平均合并 8天 19小时) (30 天内合并 10 个 PR)

描述

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.

贡献者指南