Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade default kafka from 2.4.1 to 3.1.2 #32486

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
as strings rather than silently coerced (and possibly truncated) to numeric
values. To retain the old behavior, pass `dtype=True` (or any other value
accepted by `pandas.read_json`).
* Default Kafka version was upgraded from 2.4.1 to 3.1.2
* X behavior was changed ([#X](https://github.com/apache/beam/issues/X)).

## Deprecations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ class BeamModulePlugin implements Plugin<Project> {
def jaxb_api_version = "2.3.3"
def jsr305_version = "3.0.2"
def everit_json_version = "1.14.2"
def kafka_version = "2.4.1"
def kafka_version = "3.1.2"
def log4j2_version = "2.20.0"
def nemo_version = "0.1"
// [bomupgrader] determined by: io.grpc:grpc-netty, consistent with: google_cloud_platform_libraries_bom
Expand Down
2 changes: 2 additions & 0 deletions sdks/java/io/kafka/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def kafkaVersions = [
'231': "2.3.1",
'241': "2.4.1",
'251': "2.5.1",
'312': "3.1.2",
]

kafkaVersions.each{k,v -> configurations.create("kafkaVersion$k")}
Expand Down Expand Up @@ -143,6 +144,7 @@ task kafkaVersionsCompatibilityTest {
dependsOn (":sdks:java:io:kafka:kafka-231:kafkaVersion231BatchIT")
dependsOn (":sdks:java:io:kafka:kafka-241:kafkaVersion241BatchIT")
dependsOn (":sdks:java:io:kafka:kafka-251:kafkaVersion251BatchIT")
dependsOn (":sdks:java:io:kafka:kafka-312:kafkaVersion312BatchIT")
}

static def createTestList(Map<String, String> prefixMap, String suffix) {
Expand Down
24 changes: 24 additions & 0 deletions sdks/java/io/kafka/kafka-312/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* License); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
project.ext {
delimited="3.1.2"
undelimited="312"
sdfCompatible=true
}

apply from: "../kafka-integration-test.gradle"
Loading