You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Tzu-Li (Gordon) Tai (Jira)" <ji...@apache.org> on 2023/04/04 19:30:00 UTC
[jira] [Commented] (FLINK-31731) No suitable constructor found for DebeziumAvroSerializationSchema
[ https://issues.apache.org/jira/browse/FLINK-31731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17708551#comment-17708551 ]
Tzu-Li (Gordon) Tai commented on FLINK-31731:
---------------------------------------------
We'll piggy-back the fix for this as part of the final externalization effort of the confluent-avro modules to the flink-connector-kafka repo.
i.e. once we resolve FLINK-30859, this ticket can be automatically resolved as well.
> No suitable constructor found for DebeziumAvroSerializationSchema
> -----------------------------------------------------------------
>
> Key: FLINK-31731
> URL: https://issues.apache.org/jira/browse/FLINK-31731
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Kafka
> Affects Versions: 1.18.0, kafka-4.0.0
> Reporter: Martijn Visser
> Priority: Critical
> Labels: test-stability
>
> {code:java}
> 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.
> {code}
> https://github.com/apache/flink-connector-kafka/actions/runs/4610715024/jobs/8149513647#step:13:153
--
This message was sent by Atlassian Jira
(v8.20.10#820010)