Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-32453 flink-connector-kafka does not build against Flink 1.18-SNAPSHOT
  3. FLINK-31731

No suitable constructor found for DebeziumAvroSerializationSchema

    XMLWordPrintableJSON

Details

    Description

      Error:  Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:testCompile (default-testCompile) on project flink-connector-kafka: Compilation failure
      Error:  /home/runner/work/flink-connector-kafka/flink-connector-kafka/flink-connector-kafka/src/test/java/org/apache/flink/streaming/connectors/kafka/table/KafkaDynamicTableFactoryTest.java:[939,16] no suitable constructor found for DebeziumAvroSerializationSchema(org.apache.flink.table.types.logical.RowType,java.lang.String,java.lang.String,<nulltype>)
      Error:      constructor org.apache.flink.formats.avro.registry.confluent.debezium.DebeziumAvroSerializationSchema.DebeziumAvroSerializationSchema(org.apache.flink.table.types.logical.RowType,java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,?>) is not applicable
      Error:        (actual and formal argument lists differ in length)
      Error:      constructor org.apache.flink.formats.avro.registry.confluent.debezium.DebeziumAvroSerializationSchema.DebeziumAvroSerializationSchema(org.apache.flink.formats.avro.AvroRowDataSerializationSchema) is not applicable
      Error:        (actual and formal argument lists differ in length)
      Error:  -> [Help 1]
      Error:  
      Error:  To see the full stack trace of the errors, re-run Maven with the -e switch.
      Error:  Re-run Maven using the -X switch to enable full debug logging.
      Error:  
      Error:  For more information about the errors and possible solutions, please read the following articles:
      Error:  [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      Error:  
      Error:  After correcting the problems, you can resume the build with the command
      Error:    mvn <args> -rf :flink-connector-kafka
      Error: Process completed with exit code 1.
      

      https://github.com/apache/flink-connector-kafka/actions/runs/4610715024/jobs/8149513647#step:13:153

      Attachments

        Issue Links

          Activity

            People

              tzulitai Tzu-Li (Gordon) Tai
              martijnvisser Martijn Visser
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: