Skip to content

Conversation

@darenwkt
Copy link

@darenwkt darenwkt commented May 6, 2025

Issue #, if available:
#371

Since flink 1.19 onwards, there is a change to getEncorder method return type in flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/AvroSerializationSchema.java in apache/flink@f8da758#diff-6da958ea13dc42cb06d10e96c86455ab15a02721d6f5f187cb0ab6f8cf0115dfL110

The return type has changed from BinaryEncoder to Encoder.

As software.amazon.glue:schema-registry-flink-serde:1.1.23 is compiled against org.apache.flink:flink-avro:1.12.2, this means that flink 1.19 onwards no longer works with software.amazon.glue:schema-registry-flink-serde:1.1.23 and throws java.lang.NoSuchMethodError exception.

Description of changes:

This change bumps the flink dependency version from 1.12.2 to 1.20.1.

Note that this is a breaking change as older flink version will not work with this new flink-avro version, hence recommend this commit to be included in a new major version release

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant