geyanggang opened a new pull request, #14963:
URL: https://github.com/apache/gravitino/pull/14963

   ### What changes were proposed in this pull request?
   - Update `kafka` from 3.4.0 to 3.9.2 in `gradle/libs.versions.toml`. It 
drives `kafka-clients` (Kafka catalog) and `kafka_2.12` (test only).
   - Update the Apache Kafka copyright line in `NOTICE.bin` to match the NOTICE 
shipped in `kafka-clients` 3.9.2.
   - In the Kafka catalog tests, `KafkaClusterEmbedded` and `KafkaEmbedded` now 
use the plain broker configuration keys instead of the Scala `KafkaConfig` 
property accessors, which no longer exist in 3.9.
   
   ### Why are the changes needed?
   Keep `kafka-clients` on a maintained release line. The 3.9 client stays 
wire-compatible with older brokers. The runtime classpath of the Kafka catalog 
changes only in: `kafka-clients` 3.9.2, `zstd-jni` 1.5.2-1 to 1.5.6-4, and 
`org.lz4:lz4-java` 1.8.0 replaced by `at.yawk.lz4:lz4-java` 1.10.1 (the 
maintained fork that Kafka 3.9.2 depends on, same `net.jpountz.lz4` package). 
`snappy-java` is still resolved to 1.1.10.12 by the existing constraint. 
`lz4-java` used by the ClickHouse contrib test is a separate catalog entry and 
is unchanged.
   
   Fix: #14962
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   - `dependencies` for `:catalogs:catalog-kafka` (runtime and test runtime) 
compared before and after.
   - `./gradlew :catalogs:catalog-kafka:test -PskipITs` passes (23 tests, using 
the embedded broker on 3.9.2).
   - `./gradlew :catalogs:catalog-kafka:test -PskipDockerTests=false --tests 
'*CatalogKafkaIT'` passes (10 tests, against `apache/kafka:3.7.0`).
   - `spotlessCheck` passes for the module.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to