aliehsaeedii commented on code in PR #22570:
URL: https://github.com/apache/kafka/pull/22570#discussion_r3460259505


##########
streams/src/main/java/org/apache/kafka/streams/processor/StreamPartitioner.java:
##########
@@ -53,17 +54,23 @@
 @FunctionalInterface
 public interface StreamPartitioner<K, V> {
 
+    @Deprecated(since = "4.3", forRemoval = true)
+    Optional<Set<Integer>> partitions(String topic, K key, V value, int 
numPartitions);

Review Comment:
   This method is now `@Deprecated(forRemoval = true)` but has no Javadoc. A 
removal-bound deprecation should carry a `@deprecated` tag pointing readers to 
the replacement, e.g. `@deprecated Use {@link #partitions(String, Object, 
Object, Headers, int)} instead.`



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