Skip to content

Commit

Permalink
Fix for scala 2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvanoosten committed Nov 5, 2023
1 parent 77ed9f9 commit c41344e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ object ConsumerSpec extends ZIOSpecDefaultSlf4j with KafkaRandom {
.tap { record =>
// Signal consumer 2 can start when a record is seen for every partition.
for {
keys <- c1Keys.updateAndGet(_.appended(record.key))
keys <- c1Keys.updateAndGet(_ ++ record.key)
_ <- c1Started.succeed(()).when(keys.map(_.split('-')(1)).toSet.size == partitionCount)
} yield ()
}
Expand Down

0 comments on commit c41344e

Please sign in to comment.