MINOR: Update dependencies for Kafka 2.4 (#7126)

Scala 2.12.9 brings another 5% ~ 10% improvement in compiler performance,
improved compatibility with JDK 11/12/13, and experimental infrastructure for
build pipelining.

zstd update includes performance improvements, among which the
primary improvement is that decompression is ~7% faster.

Level | v1.4.0 | v1.4.1 | Delta
-- | -- | -- | --
1 | 1390 MB/s | 1453 MB/s | +4.5%
3 | 1208 MB/s | 1301 MB/s | +7.6%
5 | 1129 MB/s | 1233 MB/s | +9.2%
7 | 1224 MB/s | 1347 MB/s | +10.0%
16 | 1278 MB/s | 1430 MB/s | +11.8%

Jetty 9.4.19 includes a number of bug fixes:
https://github.com/eclipse/jetty.project/releases/tag/jetty-9.4.19.v20190610

Mockito 3.0.0 switched the Java requirement from 7 to 8.

Several updates to owaspDepCheckPlugin (4.0.2 -> 5.2.1).

The rest are patch updates.

Reviewers: Rajini Sivaram <rajinisivaram@googlemail.com>
This commit is contained in:
Ismael Juma 2019-08-08 06:01:22 -07:00 committed by GitHub
parent 926fb35d9d
commit 66d81a0e50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 13 deletions

View File

@ -48,7 +48,7 @@ should_include_file() {
base_dir=$(dirname $0)/.. base_dir=$(dirname $0)/..
if [ -z "$SCALA_VERSION" ]; then if [ -z "$SCALA_VERSION" ]; then
SCALA_VERSION=2.12.8 SCALA_VERSION=2.12.9
fi fi
if [ -z "$SCALA_BINARY_VERSION" ]; then if [ -z "$SCALA_BINARY_VERSION" ]; then

View File

@ -27,7 +27,7 @@ set BASE_DIR=%CD%
popd popd
IF ["%SCALA_VERSION%"] EQU [""] ( IF ["%SCALA_VERSION%"] EQU [""] (
set SCALA_VERSION=2.12.8 set SCALA_VERSION=2.12.9
) )
IF ["%SCALA_BINARY_VERSION%"] EQU [""] ( IF ["%SCALA_BINARY_VERSION%"] EQU [""] (

View File

@ -21,6 +21,6 @@ group=org.apache.kafka
# - tests/kafkatest/version.py (variable DEV_VERSION) # - tests/kafkatest/version.py (variable DEV_VERSION)
# - kafka-merge-pr.py # - kafka-merge-pr.py
version=2.4.0-SNAPSHOT version=2.4.0-SNAPSHOT
scalaVersion=2.12.8 scalaVersion=2.12.9
task=build task=build
org.gradle.jvmargs=-Xmx1024m -Xss2m org.gradle.jvmargs=-Xmx1024m -Xss2m

View File

@ -30,7 +30,7 @@ ext {
// Add Scala version // Add Scala version
def defaultScala211Version = '2.11.12' def defaultScala211Version = '2.11.12'
def defaultScala212Version = '2.12.8' def defaultScala212Version = '2.12.9'
def defaultScala213Version = '2.13.0' def defaultScala213Version = '2.13.0'
if (hasProperty('scalaVersion')) { if (hasProperty('scalaVersion')) {
if (scalaVersion == '2.11') { if (scalaVersion == '2.11') {
@ -63,18 +63,18 @@ versions += [
apacheda: "1.0.2", apacheda: "1.0.2",
apacheds: "2.0.0-M24", apacheds: "2.0.0-M24",
argparse4j: "0.7.0", argparse4j: "0.7.0",
bcpkix: "1.61", bcpkix: "1.62",
checkstyle: "8.20", checkstyle: "8.20",
commonsCli: "1.4", commonsCli: "1.4",
gradle: "5.4.1", gradle: "5.4.1",
gradleVersionsPlugin: "0.21.0", gradleVersionsPlugin: "0.21.0",
grgit: "3.1.1", grgit: "3.1.1",
httpclient: "4.5.8", httpclient: "4.5.9",
easymock: "4.0.2", easymock: "4.0.2",
jackson: "2.9.9", jackson: "2.9.9",
jacksonDatabind: "2.9.9.3", jacksonDatabind: "2.9.9.3",
jacoco: "0.8.3", jacoco: "0.8.3",
jetty: "9.4.18.v20190429", jetty: "9.4.19.v20190610",
jersey: "2.28", jersey: "2.28",
jmh: "1.21", jmh: "1.21",
hamcrest: "2.1", hamcrest: "2.1",
@ -97,25 +97,25 @@ versions += [
lz4: "1.6.0", lz4: "1.6.0",
mavenArtifact: "3.6.1", mavenArtifact: "3.6.1",
metrics: "2.2.0", metrics: "2.2.0",
mockito: "2.27.0", mockito: "3.0.0",
owaspDepCheckPlugin: "4.0.2", owaspDepCheckPlugin: "5.2.1",
powermock: "2.0.2", powermock: "2.0.2",
reflections: "0.9.11", reflections: "0.9.11",
rocksDB: "5.18.3", rocksDB: "5.18.3",
scalaCollectionCompat: "2.1.0", scalaCollectionCompat: "2.1.2",
scalafmt: "1.5.1", scalafmt: "1.5.1",
scalaJava8Compat : "0.9.0", scalaJava8Compat : "0.9.0",
scalatest: "3.0.8", scalatest: "3.0.8",
scoverage: "1.4.0", scoverage: "1.4.0",
scoveragePlugin: "2.5.0", scoveragePlugin: "2.5.0",
shadowPlugin: "4.0.4", shadowPlugin: "4.0.4",
slf4j: "1.7.26", slf4j: "1.7.27",
snappy: "1.1.7.3", snappy: "1.1.7.3",
spotbugs: "3.1.12", spotbugs: "3.1.12",
spotbugsPlugin: "1.6.9", spotbugsPlugin: "1.6.9",
spotlessPlugin: "3.23.0", spotlessPlugin: "3.23.1",
zookeeper: "3.5.5", zookeeper: "3.5.5",
zstd: "1.4.0-1" zstd: "1.4.2-1"
] ]
libs += [ libs += [