[ https://issues.apache.org/jira/browse/KAFKA-17091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias J. Sax reassigned KAFKA-17091: --------------------------------------- Assignee: (was: Ray McDermott) > Add @FunctionalInterface to Streams interfaces > ---------------------------------------------- > > Key: KAFKA-17091 > URL: https://issues.apache.org/jira/browse/KAFKA-17091 > Project: Kafka > Issue Type: Improvement > Components: streams > Reporter: Ray McDermott > Priority: Minor > > Clojure version 1.12 (currently in beta) has many updates to Java interop. > Unfortunately, it does not quite deliver what we need with respect to > thinning down Kafka Streams interop. > We were specifically hoping that passing {{(fn [] ...)}} to SAM interfaces > would just work and we would not need to {{reify}} the interface. > Sadly it only works for interfaces that have been explicitly annotated with > {{@FunctionalInterface}} - and the Kafka Streams DSL does not have those > annotations. > Details here > https://ask.clojure.org/index.php/13908/expand-fi-adapting-to-sam-types-not-marked-as-fi -- This message was sent by Atlassian Jira (v8.20.10#820010)