[ https://issues.apache.org/jira/browse/KAFKA-4672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guozhang Wang updated KAFKA-4672: --------------------------------- Resolution: Fixed Fix Version/s: 0.10.3.0 Status: Resolved (was: Patch Available) Issue resolved by pull request 2402 [https://github.com/apache/kafka/pull/2402] > KIP-100 api changes break Java 8 lambda expressions in some cases > ------------------------------------------------------------------ > > Key: KAFKA-4672 > URL: https://issues.apache.org/jira/browse/KAFKA-4672 > Project: Kafka > Issue Type: Bug > Components: streams > Affects Versions: 0.10.2.0 > Reporter: Xavier Léauté > Assignee: Xavier Léauté > Fix For: 0.10.3.0, 0.10.2.0 > > > Variance changes introduced in KIP-100 cause compilation failures with lambda > expression in Java 8. > To my knowledge this only affects the following method > {{KStreams.transform(TransformerSupplier<...>, String...)}} > prior to the changes it was possible to write > {{streams.transform(MyTransformer::new)}} > where {{MyTransformer}} extends {{Transformer}}. > After the changes the Java compiler is unable to infer correct return types > for the lambda expression. -- This message was sent by Atlassian JIRA (v6.3.4#6332)