mjsax commented on code in PR #23134:
URL: https://github.com/apache/kafka/pull/23134#discussion_r3768022026


##########
streams/integration-tests/src/test/java/org/apache/kafka/streams/integration/OptimizedKTableIntegrationTest.java:
##########
@@ -222,4 +224,23 @@ private Properties streamsConfiguration(final String 
safeTestName) {
         config.put(ConsumerConfig.SESSION_TIMEOUT_MS_CONFIG, 1000);
         return config;
     }
+
+    private static class FixedPartitionPartitioner implements 
StreamPartitioner<Integer, Object> {

Review Comment:
   Guess should be fine either way. (Don't think there is a "count threshold"; 
well, for production code there is, and it's 2 -- we should not have any 
duplication there. But for test-only code, we can handle it more loosley)



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to