This repository was archived by the owner on Aug 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -167,25 +167,28 @@ services:
167167 aliases :
168168 - edx.devstack.kafka
169169
170- # RESTful interface to the Kafka cluster
171- kafka-rest-proxy :
172- image : confluentinc/cp-kafka-rest:6.2.1
170+ # browser app for monitoring local Kafka cluster. This is quite memory- and CPU-intensive, so it should only be used for local Kafka debugging
171+ kafka-control-center :
172+ image : confluentinc/cp-enterprise-control-center:6.2.1
173+ hostname : kafka-control-center.devstack.edx
174+ container_name : edx.${COMPOSE_PROJECT_NAME:-devstack}.kafka-control-center
173175 depends_on :
174176 - kafka
175177 - schema-registry
176178 ports :
177- - 8082:8082
178- hostname : kafka-rest-proxy.devstack.edx
179- container_name : " edx.${COMPOSE_PROJECT_NAME:-devstack}.kafka-rest-proxy"
179+ - " 9021:9021"
180180 environment :
181- KAFKA_REST_HOST_NAME : edx.devstack.kafka-rest-proxy
182- KAFKA_REST_BOOTSTRAP_SERVERS : ' edx.devstack.kafka:29092'
183- KAFKA_REST_LISTENERS : " http://0.0.0.0:8082"
184- KAFKA_REST_SCHEMA_REGISTRY_URL : ' http://edx.devstack.schema-registry:8081'
181+ CONTROL_CENTER_BOOTSTRAP_SERVERS : edx.devstack.kafka:29092
182+ CONTROL_CENTER_SCHEMA_REGISTRY_URL : http://edx.devstack.schema-registry:8081
183+ CONTROL_CENTER_REPLICATION_FACTOR : 1
184+ CONTROL_CENTER_INTERNAL_TOPICS_PARTITIONS : 1
185+ CONTROL_CENTER_MONITORING_INTERCEPTOR_TOPIC_PARTITIONS : 1
186+ CONFLUENT_METRICS_TOPIC_REPLICATION : 1
187+ PORT : 9021
185188 networks :
186189 default :
187190 aliases :
188- - edx.devstack.kafka-rest-proxy
191+ - edx.devstack.kafka-control-center
189192
190193 memcached :
191194 container_name : " edx.${COMPOSE_PROJECT_NAME:-devstack}.memcached"
You can’t perform that action at this time.
0 commit comments