Skip to content

Commit

Permalink
Add back Avro 1.8.2 to test (apache#30833)
Browse files Browse the repository at this point in the history
* Add back Avro 1.8.2 to test

* Add avro:test to test class path

* Fix changes.md
  • Loading branch information
Abacn authored Apr 3, 2024
1 parent 864f853 commit 3caa1d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/trigger_files/beam_PostCommit_Java_Avro_Versions.json

This file was deleted.

2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
## I/Os

* Support for X source added (Java/Python) ([#X](https://github.com/apache/beam/issues/X)).
* Upgraded Avro version to 1.11.3, kafka-avro-serializer and kafka-schema-registry-client versions to 7.6.0 (Java) ([#30638](https://github.com/apache/beam/pull/30638)).
The newer Avro package is known to have breaking changes. If you are affected, you can keep pinned to older Avro versions which are also tested with Beam.

## New Features / Improvements

Expand Down
4 changes: 3 additions & 1 deletion sdks/java/extensions/avro/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ avro {

description = "Apache Beam :: SDKs :: Java :: Extensions :: Avro"

// additional avro version (other than library.java.avro) to be tested
def avroVersions = [
'182' : "1.8.2",
'192' : "1.9.2",
'1102': "1.10.2",
'1111': "1.11.1",
]

avroVersions.each { k, v ->
Expand Down Expand Up @@ -85,6 +86,7 @@ dependencies {
"avroVersion$k" library.java.slf4j_jdk14
"avroVersion$k" "org.tukaani:xz:1.9" // marked as optional in avro
"avroVersion$k" library.java.zstd_jni // marked as optional in avro
"avroVersion$k" "org.apache.avro:avro:$v:tests"
"avroVersion${k}Generate" "org.apache.avro:avro-tools:$v"
}
}
Expand Down

0 comments on commit 3caa1d8

Please sign in to comment.