-
When using I reduced a problem I found into this snippet: val s = Source
.repeat(())
.map(_ => ByteString('a' * 40000))
.take(1000000)
.flatMapPrefix(50000) { prefix => Flow[ByteString] }
Source.empty
.concatAllLazy(List.tabulate(30000)(_ => s): _*)
.runWith(Sink.ignore).onComplete(println(_)) If we don't use concat, it runs fine: Source
.repeat(s)
.take(30000)
.flatMapConcat(x => x)
.runWith(Sink.ignore)
.onComplete(println(_)) |
Beta Was this translation helpful? Give feedback.
Answered by
He-Pin
Dec 31, 2024
Replies: 2 comments 17 replies
-
@queimadus What about |
Beta Was this translation helpful? Give feedback.
17 replies
-
@queimadus thanks , it's now fixed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@queimadus #1652