From 7659a84a765d06b0766dde612227bd73d33ca660 Mon Sep 17 00:00:00 2001 From: Shirshanka Das Date: Sat, 16 Jul 2022 18:40:45 -0700 Subject: [PATCH] feat(quickstart): moving to official confluent images for m1 --- docker/kafka-setup/kafka-setup.sh | 2 ++ .../docker-compose-without-neo4j-m1.quickstart.yml | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docker/kafka-setup/kafka-setup.sh b/docker/kafka-setup/kafka-setup.sh index 27593876a48df..49ea31687cffa 100755 --- a/docker/kafka-setup/kafka-setup.sh +++ b/docker/kafka-setup/kafka-setup.sh @@ -52,3 +52,5 @@ kafka-topics.sh --create --if-not-exists --command-config $CONNECTION_PROPERTIES if [[ $DATAHUB_ANALYTICS_ENABLED == true ]]; then kafka-topics.sh --create --if-not-exists --command-config $CONNECTION_PROPERTIES_PATH --bootstrap-server $KAFKA_BOOTSTRAP_SERVER --partitions $PARTITIONS --replication-factor $REPLICATION_FACTOR --topic $DATAHUB_USAGE_EVENT_NAME fi + +kafka-configs.sh --zookeeper zookeeper --entity-type topics --entity-name _schemas --alter --add-config cleanup.policy=compact diff --git a/docker/quickstart/docker-compose-without-neo4j-m1.quickstart.yml b/docker/quickstart/docker-compose-without-neo4j-m1.quickstart.yml index 49dbbc5b9f308..3b87ddbead3e0 100644 --- a/docker/quickstart/docker-compose-without-neo4j-m1.quickstart.yml +++ b/docker/quickstart/docker-compose-without-neo4j-m1.quickstart.yml @@ -15,7 +15,7 @@ services: - KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS=0 - KAFKA_HEAP_OPTS=-Xms256m -Xmx256m hostname: broker - image: kymeric/cp-kafka:latest + image: confluentinc/cp-kafka:7.2.0 ports: - ${DATAHUB_MAPPED_KAFKA_BROKER_PORT:-9092}:9092 datahub-actions: @@ -162,9 +162,9 @@ services: - broker environment: - SCHEMA_REGISTRY_HOST_NAME=schemaregistry - - SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL=zookeeper:2181 + - SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS=PLAINTEXT://broker:29092 hostname: schema-registry - image: eugenetea/schema-registry-arm64:latest + image: confluentinc/cp-schema-registry:7.2.0 ports: - ${DATAHUB_MAPPED_SCHEMA_REGISTRY_PORT:-8081}:8081 zookeeper: @@ -173,7 +173,7 @@ services: - ZOOKEEPER_CLIENT_PORT=2181 - ZOOKEEPER_TICK_TIME=2000 hostname: zookeeper - image: kymeric/cp-zookeeper:latest + image: confluentinc/cp-zookeeper:7.2.0 ports: - ${DATAHUB_MAPPED_ZK_PORT:-2181}:2181 volumes: