philipnee commented on code in PR #14531: URL: https://github.com/apache/kafka/pull/14531#discussion_r1446899891
########## clients/src/main/java/org/apache/kafka/clients/producer/Partitioner.java: ########## @@ -26,6 +26,15 @@ */ public interface Partitioner extends Configurable, Closeable { + /** + * Indicate if the given topic is handled. Returning {@code false} will cause the Producer to fallback to default partitioning. + * + * @param topic The topic name + */ + default boolean partitionsTopic(String topic) { + return true; Review Comment: why is it true by default? -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org