Skip to content

Commit 4c3a3f7

Browse files
committed
[test] Use new version of kafka docker image
1 parent 354131c commit 4c3a3f7

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
package org.apache.paimon.flink;
20+
21+
/** Docker image versions. */
22+
public class DockerImageVersions {
23+
24+
public static final String KAFKA = "confluentinc/cp-kafka:7.9.2";
25+
public static final String SCHEMA_REGISTRY = "confluentinc/cp-schema-registry:7.9.2";
26+
}

paimon-flink/paimon-flink-cdc/src/test/java/org/apache/paimon/flink/action/cdc/kafka/KafkaActionITCaseBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818

1919
package org.apache.paimon.flink.action.cdc.kafka;
2020

21+
import org.apache.paimon.flink.DockerImageVersions;
2122
import org.apache.paimon.flink.action.cdc.CdcActionITCaseBase;
2223
import org.apache.paimon.utils.StringUtils;
2324

2425
import org.apache.paimon.shade.jackson2.com.fasterxml.jackson.core.JsonProcessingException;
2526
import org.apache.paimon.shade.jackson2.com.fasterxml.jackson.databind.ObjectMapper;
2627

27-
import org.apache.flink.util.DockerImageVersions;
2828
import org.apache.kafka.clients.admin.AdminClient;
2929
import org.apache.kafka.clients.admin.NewTopic;
3030
import org.apache.kafka.clients.consumer.ConsumerConfig;

0 commit comments

Comments
 (0)