Bump flink version to 1.20.1 #374
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue #, if available:
#371
Since flink 1.19 onwards, there is a change to
getEncordermethod return type inflink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/AvroSerializationSchema.javain apache/flink@f8da758#diff-6da958ea13dc42cb06d10e96c86455ab15a02721d6f5f187cb0ab6f8cf0115dfL110The return type has changed from
BinaryEncodertoEncoder.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.