big-andy-coates commented on a change in pull request #9156: URL: https://github.com/apache/kafka/pull/9156#discussion_r489544014
########## File path: streams/streams-scala/src/test/scala/org/apache/kafka/streams/scala/kstream/KTableTest.scala ########## @@ -39,29 +39,27 @@ class KTableTest extends FlatSpec with Matchers with TestDriver { val sinkTopic = "sink" val table = builder.stream[String, String](sourceTopic).groupBy((key, _) => key).count() - table.filter((_, value) => value > 1).toStream.to(sinkTopic) + table.filter((key, value) => key.equals("a") && value == 1).toStream.to(sinkTopic) Review comment: So that we can test an existing row being removed. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org