akka/akka-core

Should we make Merges easier to treat as Sources?

オープン

#23,032 opened on 2017/05/25

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Scala (3,547 件のフォーク)batch import
1 - triagedhelp wantedt:stream

Repository metrics

Stars
 (13,277 個のスター)
PR merge metrics
 (平均マージ 8d 19h) (30d で 10 merged PRs)

説明

As mentioned by @QmQvl on gitter: is mergePreferred (http://doc.akka.io/docs/akka/current/scala/stream/stages-overview.html#mergepreferred) not available outside GraphDSL? having to write at least 4-5 lines of ceremonious code is not that much cleaner, arguably 🙃

There is some truth to that - as we know the GraphDSL is the "power user mode", yet already for a MergePreferred people need to drop down to it.

Should we re-consider and make all Merges be usable as "merge these things and give me a source"? I personally think it would be nicer this way, sending in a proposal PR.

コントリビューターガイド