Tombert opened a new pull request, #19234: URL: https://github.com/apache/kafka/pull/19234
A lot of the Kafka Stream documentation makes liberal use of Java lambdas, which is fine. The FunctionalInterface annotation isn't strictly required for Java to do this, as Java will automatically coerce, however this breaks the lambda syntax in Clojure 1.12, as it needs the FunctionalInterface in order to coerce a Clojure function into a Java lambda. As far as I can tell, there's no reason *not* to have the FunctionalInterface annotation in all the places that regularly use the lambda syntax, and this annotation would make it more clear, as well as make it easier to user in other JVM languages. -- 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