[
https://issues.apache.org/jira/browse/KAFKA-17091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17863799#comment-17863799
]
Bill Bejeck commented on KAFKA-17091:
-------------------------------------
Hi [~genraiy] thanks for the contribution idea. Since this is a change to the
public interface code of Kafka Streams, this PR will require a
[KIP|https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Improvement+Proposals].
Ping me here once you create a wiki ID (step 2 from the getting started
section in the page referenced above) and I'll go in and give you edit
permissions to create a KIP.
> 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
> Assignee: Ray McDermott
> Priority: Minor
> Labels: need-kip
>
> 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)