@@ -9,7 +9,7 @@ services:
99 # Zookeeper Cluster #
1010 # ---------------------------------------------------------------------------#
1111 zookeeper-1 :
12- image : confluentinc/cp-zookeeper:7.2.2
12+ image : confluentinc/cp-zookeeper:${CONFLUENT_VERSION}
1313 environment :
1414 ZOOKEEPER_SERVER_ID : 1
1515 ZOOKEEPER_CLIENT_PORT : 2181
@@ -19,7 +19,7 @@ services:
1919 ZOOKEEPER_SERVERS : zookeeper-1:2888:3888;zookeeper-2:2888:3888;zookeeper-3:2888:3888
2020
2121 zookeeper-2 :
22- image : confluentinc/cp-zookeeper:7.2.2
22+ image : confluentinc/cp-zookeeper:${CONFLUENT_VERSION}
2323 environment :
2424 ZOOKEEPER_SERVER_ID : 2
2525 ZOOKEEPER_CLIENT_PORT : 2181
@@ -29,7 +29,7 @@ services:
2929 ZOOKEEPER_SERVERS : zookeeper-1:2888:3888;zookeeper-2:2888:3888;zookeeper-3:2888:3888
3030
3131 zookeeper-3 :
32- image : confluentinc/cp-zookeeper:7.2.2
32+ image : confluentinc/cp-zookeeper:${CONFLUENT_VERSION}
3333 environment :
3434 ZOOKEEPER_SERVER_ID : 3
3535 ZOOKEEPER_CLIENT_PORT : 2181
@@ -42,7 +42,7 @@ services:
4242 # Kafka Cluster #
4343 # ---------------------------------------------------------------------------#
4444 kafka-1 :
45- image : confluentinc/cp-kafka:7.2.2
45+ image : confluentinc/cp-kafka:${CONFLUENT_VERSION}
4646 depends_on :
4747 - zookeeper-1
4848 - zookeeper-2
@@ -61,7 +61,7 @@ services:
6161 KAFKA_CONFLUENT_SUPPORT_METRICS_ENABLE : " false"
6262
6363 kafka-2 :
64- image : confluentinc/cp-kafka:7.2.2
64+ image : confluentinc/cp-kafka:${CONFLUENT_VERSION}
6565 depends_on :
6666 - zookeeper-1
6767 - zookeeper-2
@@ -80,7 +80,7 @@ services:
8080 KAFKA_CONFLUENT_SUPPORT_METRICS_ENABLE : " false"
8181
8282 kafka-3 :
83- image : confluentinc/cp-kafka:7.2.2
83+ image : confluentinc/cp-kafka:${CONFLUENT_VERSION}
8484 depends_on :
8585 - zookeeper-1
8686 - zookeeper-2
@@ -102,7 +102,7 @@ services:
102102 # Schema Registry #
103103 # ---------------------------------------------------------------------------#
104104 schema-registry-1 :
105- image : confluentinc/cp-schema-registry:7.2.2
105+ image : confluentinc/cp-schema-registry:${CONFLUENT_VERSION}
106106 depends_on :
107107 - kafka-1
108108 - kafka-2
@@ -121,7 +121,7 @@ services:
121121 # REST proxy #
122122 # ---------------------------------------------------------------------------#
123123 rest-proxy-1 :
124- image : confluentinc/cp-kafka-rest:7.2.2
124+ image : confluentinc/cp-kafka-rest:${CONFLUENT_VERSION}
125125 depends_on :
126126 - kafka-1
127127 - kafka-2
0 commit comments