Roiocam commented on code in PR #105: URL: https://github.com/apache/incubator-pekko-projection/pull/105#discussion_r1495297199
########## kafka-test/src/test/scala/org/apache/pekko/projection/kafka/internal/KafkaSourceProviderImplSpec.scala: ########## @@ -109,6 +110,12 @@ class KafkaSourceProviderImplSpec extends ScalaTestWithActorTestKit with LogCapt records.count(_.partition() == tp1.partition()) shouldBe 5 } + // because source push to handle(probe) before sinkProbe request pull, it made probe cache random one record + val eagerMessage = probe.receiveMessage() Review Comment: @He-Pin Is there any way to make the source and sink reach a consensus on the number of elements? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For additional commands, e-mail: notifications-h...@pekko.apache.org