You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.util.concurrent.TimeoutException: Timed out after 5 seconds
at fs2.Stream.timeout(Stream.scala:2814)
at com.stuart.routing.state.StreamInterleave$.$anonfun$queues$4(StreamInterleave.scala:21)
at get @ fs2.internal.Scope.openScope(Scope.scala:281)
at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
at flatMap @ fs2.Pull$.$anonfun$compile$21(Pull.scala:1214)
at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:224)
at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
at modify @ fs2.internal.Scope.close(Scope.scala:262)
at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
at flatMap @ fs2.Pull$.$anonfun$compile$18(Pull.scala:1213)
at handleErrorWith @ fs2.Compiler$Target.handleErrorWith(Compiler.scala:161)
at flatMap @ fs2.Pull$.goCloseScope$1(Pull.scala:1199)
at map @ fs2.internal.InterruptContext.$anonfun$eval$2(InterruptContext.scala:99)
Version
3.6.1
Bug description
While investigating an issue with fs2 and Kafka I found a strange behavior for
interleaveOrdered
. In the following code:pures
runs fine and printswhereas
queues
times out and prints nothing:Scastie
The text was updated successfully, but these errors were encountered: