[jira] [Created] (FLINK-17790) flink-connector-kafka-base does not compile on Java11

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-17790) flink-connector-kafka-base does not compile on Java11

Shang Yuanchun (Jira)
Robert Metzger created FLINK-17790:
--------------------------------------

             Summary: flink-connector-kafka-base does not compile on Java11
                 Key: FLINK-17790
                 URL: https://issues.apache.org/jira/browse/FLINK-17790
             Project: Flink
          Issue Type: Bug
          Components: Connectors / Kafka, Table SQL / Ecosystem
    Affects Versions: 1.11.0
            Reporter: Robert Metzger
             Fix For: 1.11.0


https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=1657&view=logs&j=946871de-358d-5815-3994-8175615bc253&t=e0240c62-4570-5d1c-51af-dd63d2093da1

[ERROR] /__w/3/s/flink-connectors/flink-connector-kafka-base/src/main/java/org/apache/flink/streaming/connectors/kafka/table/KafkaOptions.java:[271,41] incompatible types: cannot infer type-variable(s) U,T,T,T,T
    (argument mismatch; bad return type in lambda expression
      java.util.Optional<org.apache.flink.streaming.connectors.kafka.partitioner.FlinkKafkaPartitioner> cannot be converted to java.util.Optional<? extends org.apache.flink.streaming.connectors.kafka.partitioner.FlinkKafkaPartitioner<org.apache.flink.table.data.RowData>>)
[INFO] 1 error




--
This message was sent by Atlassian Jira
(v8.3.4#803005)