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


##########
streams/integration-tests/src/test/java/org/apache/kafka/streams/integration/KStreamRepartitionIntegrationTest.java:
##########
@@ -398,9 +405,18 @@ public void 
shouldUseStreamPartitionerForRepartitionOperation(final String topol
 
         final Repartitioned<Integer, String> repartitioned = Repartitioned
             .<Integer, String>as(repartitionName)
-            .withStreamPartitioner((topic, key, value, numPartitions) -> {
-                partitionerInvocation.incrementAndGet();
-                return Optional.of(Collections.singleton(partition));
+            .withStreamPartitioner(new StreamPartitioner<>() {
+                @SuppressWarnings({"removal"})

Review Comment:
   ```suggestion
                   @SuppressWarnings("removal")
   ```



-- 
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