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
Streams core: Eager processing of inner streams (#151)
Common streams is built around the concept of a stream of streams:
`Stream[F, Stream[F, A]]`. The nesting of `Stream` is needed so the
Source has a way to force the app to immediately checkpoint. This is
needed e.g. at the end of a kinesis shard, or when kafka rebalances.
We already allowed eager processing of inner streams under some
circumstances, i.e. the app can start processing the next inner stream
while the preceding inner stream is still finalizing. But we did not
have eager processing under all circumstances.
This PR allows the eager processing feature to work in more scenarios.
It will have most impact on the kinesis source near a shard end, and in
particular an app that works with timed windows, e.g. Lake Loader.
Copy file name to clipboardExpand all lines: modules/streams-core/src/test/scala/com.snowplowanalytics.snowplow/streams/internal/LowLevelSourceSpec.scala
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -317,10 +317,10 @@ class LowLevelSourceSpec extends Specification with CatsEffect {
0 commit comments