From c69de612a286d8033bc3bf31f114f44d82eb1538 Mon Sep 17 00:00:00 2001 From: ikbalkaya Date: Fri, 4 Nov 2022 10:34:27 +0000 Subject: [PATCH 1/2] Update images in docker-compose.yml --- docker-compose.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 633567ba..463ff174 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: zookeeper: - image: confluentinc/cp-zookeeper:5.4.0 + image: confluentinc/cp-zookeeper:5.4.10-1-ubi8 networks: kafka_network: environment: @@ -11,7 +11,9 @@ services: # - '2181:2181' kafka: - image: confluentinc/cp-enterprise-kafka:5.4.0 + image: confluentinc/cp-server:5.4.10-1-ubi8 + hostname: kafka + container_name: kafka networks: kafka_network: aliases: @@ -20,6 +22,10 @@ services: - 29092:29092 depends_on: - zookeeper + volumes: + - ./scripts/security/keypair:/tmp/conf + - ./scripts/helper:/tmp/helper + - ./scripts/security:/etc/kafka/secrets environment: KAFKA_ZOOKEEPER_CONNECT: 'zookeeper:2181' KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 @@ -31,7 +37,7 @@ services: KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT schema-registry: - image: confluentinc/cp-schema-registry:5.4.0 + image: confluentinc/cp-schema-registry:5.4.10-1-ubi8 networks: kafka_network: aliases: @@ -43,7 +49,7 @@ services: SCHEMA_REGISTRY_HOST_NAME: schema-registry control-center: - image: confluentinc/cp-enterprise-control-center:5.4.0 + image: confluentinc/cp-enterprise-control-center:5.4.10-1-ubi8 networks: kafka_network: aliases: From 7fd06e200a626f8b7a529e17767acfdb8aac3186 Mon Sep 17 00:00:00 2001 From: ikbalkaya Date: Fri, 4 Nov 2022 10:40:33 +0000 Subject: [PATCH 2/2] Update docker-compose-distributed.yml images --- docker-compose-distributed.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docker-compose-distributed.yml b/docker-compose-distributed.yml index 26f498d5..9f73f180 100644 --- a/docker-compose-distributed.yml +++ b/docker-compose-distributed.yml @@ -1,7 +1,7 @@ version: '3' services: zookeeper: - image: confluentinc/cp-zookeeper:5.4.0 + image: confluentinc/cp-zookeeper:5.4.10-1-ubi8 networks: kafka_distributed_network: environment: @@ -11,7 +11,9 @@ services: # - '2181:2181' kafka: - image: confluentinc/cp-enterprise-kafka:5.4.0 + image: confluentinc/cp-server:5.4.10-1-ubi8 + hostname: kafka + container_name: kafka networks: kafka_distributed_network: aliases: @@ -20,6 +22,10 @@ services: - 29092:29092 depends_on: - zookeeper + volumes: + - ./scripts/security/keypair:/tmp/conf + - ./scripts/helper:/tmp/helper + - ./scripts/security:/etc/kafka/secrets environment: KAFKA_ZOOKEEPER_CONNECT: 'zookeeper:2181' KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 @@ -31,7 +37,7 @@ services: KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT schema-registry: - image: confluentinc/cp-schema-registry:5.4.0 + image: confluentinc/cp-schema-registry:5.4.10-1-ubi8 networks: kafka_distributed_network: aliases: @@ -43,7 +49,7 @@ services: SCHEMA_REGISTRY_HOST_NAME: schema-registry control-center: - image: confluentinc/cp-enterprise-control-center:5.4.0 + image: confluentinc/cp-enterprise-control-center:5.4.10-1-ubi8 networks: kafka_distributed_network: aliases: