Use a newer kafka version default for docker-compose

7.5.1 would match open source kafka 3.5.1
This commit is contained in:
Samuel Cantero 2023-10-31 15:07:22 -03:00
parent be26f99784
commit 38ec141713
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ version: '3'
services:
kafka:
image: confluentinc/cp-kafka:${CONFLUENT_VERSION:-5.3.1}
image: confluentinc/cp-kafka:${CONFLUENT_VERSION:-7.5.1}
environment:
- KAFKA_BROKER_ID=0
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
@ -16,7 +16,7 @@ services:
links: [zookeeper]
zookeeper:
image: confluentinc/cp-zookeeper:${CONFLUENT_VERSION:-5.3.1}
image: confluentinc/cp-zookeeper:${CONFLUENT_VERSION:-7.5.1}
environment:
- ZOOKEEPER_CLIENT_PORT=2181
ports: ["2181:2181"]