Skip to content

Commit 556ddf7

Browse files
authored
Merge pull request #2070 from lizthegrey/patch-1
chore: confluent platform version bump
2 parents 99c86c9 + f345558 commit 556ddf7

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

docker-compose.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3.7'
22
services:
33
zookeeper-1:
4-
image: 'confluentinc/cp-zookeeper:${CONFLUENT_PLATFORM_VERSION:-6.2.0}'
4+
image: 'confluentinc/cp-zookeeper:${CONFLUENT_PLATFORM_VERSION:-7.0.0}'
55
restart: always
66
environment:
77
ZOOKEEPER_SERVER_ID: '1'
@@ -13,7 +13,7 @@ services:
1313
ZOOKEEPER_SYNC_LIMIT: '5'
1414
ZOOKEEPER_MAX_CLIENT_CONNS: '0'
1515
zookeeper-2:
16-
image: 'confluentinc/cp-zookeeper:${CONFLUENT_PLATFORM_VERSION:-6.2.0}'
16+
image: 'confluentinc/cp-zookeeper:${CONFLUENT_PLATFORM_VERSION:-7.0.0}'
1717
restart: always
1818
environment:
1919
ZOOKEEPER_SERVER_ID: '2'
@@ -25,7 +25,7 @@ services:
2525
ZOOKEEPER_SYNC_LIMIT: '5'
2626
ZOOKEEPER_MAX_CLIENT_CONNS: '0'
2727
zookeeper-3:
28-
image: 'confluentinc/cp-zookeeper:${CONFLUENT_PLATFORM_VERSION:-6.2.0}'
28+
image: 'confluentinc/cp-zookeeper:${CONFLUENT_PLATFORM_VERSION:-7.0.0}'
2929
restart: always
3030
environment:
3131
ZOOKEEPER_SERVER_ID: '3'
@@ -37,7 +37,7 @@ services:
3737
ZOOKEEPER_SYNC_LIMIT: '5'
3838
ZOOKEEPER_MAX_CLIENT_CONNS: '0'
3939
kafka-1:
40-
image: 'confluentinc/cp-kafka:${CONFLUENT_PLATFORM_VERSION:-6.2.0}'
40+
image: 'confluentinc/cp-kafka:${CONFLUENT_PLATFORM_VERSION:-7.0.0}'
4141
restart: always
4242
environment:
4343
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper-1:2181,zookeeper-2:2181,zookeeper-3:2181'
@@ -54,7 +54,7 @@ services:
5454
KAFKA_DELETE_TOPIC_ENABLE: 'true'
5555
KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'false'
5656
kafka-2:
57-
image: 'confluentinc/cp-kafka:${CONFLUENT_PLATFORM_VERSION:-6.2.0}'
57+
image: 'confluentinc/cp-kafka:${CONFLUENT_PLATFORM_VERSION:-7.0.0}'
5858
restart: always
5959
environment:
6060
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper-1:2181,zookeeper-2:2181,zookeeper-3:2181'
@@ -71,7 +71,7 @@ services:
7171
KAFKA_DELETE_TOPIC_ENABLE: 'true'
7272
KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'false'
7373
kafka-3:
74-
image: 'confluentinc/cp-kafka:${CONFLUENT_PLATFORM_VERSION:-6.2.0}'
74+
image: 'confluentinc/cp-kafka:${CONFLUENT_PLATFORM_VERSION:-7.0.0}'
7575
restart: always
7676
environment:
7777
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper-1:2181,zookeeper-2:2181,zookeeper-3:2181'
@@ -88,7 +88,7 @@ services:
8888
KAFKA_DELETE_TOPIC_ENABLE: 'true'
8989
KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'false'
9090
kafka-4:
91-
image: 'confluentinc/cp-kafka:${CONFLUENT_PLATFORM_VERSION:-6.2.0}'
91+
image: 'confluentinc/cp-kafka:${CONFLUENT_PLATFORM_VERSION:-7.0.0}'
9292
restart: always
9393
environment:
9494
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper-1:2181,zookeeper-2:2181,zookeeper-3:2181'
@@ -105,7 +105,7 @@ services:
105105
KAFKA_DELETE_TOPIC_ENABLE: 'true'
106106
KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'false'
107107
kafka-5:
108-
image: 'confluentinc/cp-kafka:${CONFLUENT_PLATFORM_VERSION:-6.2.0}'
108+
image: 'confluentinc/cp-kafka:${CONFLUENT_PLATFORM_VERSION:-7.0.0}'
109109
restart: always
110110
environment:
111111
KAFKA_ZOOKEEPER_CONNECT: 'zookeeper-1:2181,zookeeper-2:2181,zookeeper-3:2181'

functional_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,16 @@ func prepareDockerTestEnvironment(ctx context.Context, env *testEnvironment) err
112112
if version, ok := os.LookupEnv("KAFKA_VERSION"); ok {
113113
env.KafkaVersion = version
114114
} else {
115-
// We have cp-6.1.2 as the default in the docker-compose file, so that's kafka 2.7.1.
116-
env.KafkaVersion = "2.7.1"
115+
// We have cp-7.0.0 as the default in the docker-compose file, so that's kafka 3.0.0.
116+
env.KafkaVersion = "3.0.0"
117117
}
118118

119119
// the mapping of confluent platform docker image versions -> kafka versions can be
120120
// found here: https://docs.confluent.io/current/installation/versions-interoperability.html
121121
var confluentPlatformVersion string
122122
switch env.KafkaVersion {
123123
case "3.0.0":
124-
confluentPlatformVersion = "6.2.0"
124+
confluentPlatformVersion = "7.0.0"
125125
case "2.8.1":
126126
confluentPlatformVersion = "6.2.0"
127127
case "2.7.1":

0 commit comments

Comments
 (0)