akka/akka-core

Should we make Merges easier to treat as Sources?

Open

#23,032 opened on May 25, 2017

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

Description

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.

Contributor guide

Should we make Merges easier to treat as Sources? 路 akka/akka-core#23032 | Good First Issue