Skip to content

Commit

Permalink
feat(quickstart): moving to official confluent images for m1
Browse files Browse the repository at this point in the history
  • Loading branch information
shirshanka committed Jul 17, 2022
1 parent f387fa6 commit 7659a84
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions docker/kafka-setup/kafka-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 7659a84

Please sign in to comment.