Skip to content

Commit

Permalink
Transformer kinesis: version 4.0.2 Throws java.lang.InterruptedExcept…
Browse files Browse the repository at this point in the history
…ion: sleep interrupted (close #938)
  • Loading branch information
istreeter committed Jun 16, 2022
1 parent b7bbed0 commit b683757
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ case object EndWindow extends Record[Nothing, Nothing, Nothing]
// Same window, drop Left(w)
go(Some(w), tail, emptyWindow)
case Some(_) if emptyWindow =>
Pull.pure(())
// New window, but nothing to emit
go(Some(w), tail, true)
case Some(_) =>
Pull.output1[F, Record[W, A, S]](Record.EndWindow) *>
go(Some(w), tail, true)
Expand Down

0 comments on commit b683757

Please sign in to comment.