Use `cp-enterprise-kafka` Docker image
@@ -11,7 +11,7 @@ services:
ZOOKEEPER_TICK_TIME: 2000
kafka:
- image: confluentinc/cp-kafka:3.2.1
+ image: confluentinc/cp-enterprise-kafka:3.2.1
hostname: kafka
ports:
- '29092:29092'
@@ -22,6 +22,12 @@ services:
KAFKA_ZOOKEEPER_CONNECT: zookeeper:32181
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:29092
KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false"
+ KAFKA_METRIC_REPORTERS: io.confluent.metrics.reporter.ConfluentMetricsReporter
+ CONFLUENT_METRICS_REPORTER_BOOTSTRAP_SERVERS: kafka:29092
+ CONFLUENT_METRICS_REPORTER_ZOOKEEPER_CONNECT: zookeeper:32181
+ CONFLUENT_METRICS_REPORTER_TOPIC_REPLICAS: 1
+ CONFLUENT_METRICS_ENABLE: 'true'
+ CONFLUENT_SUPPORT_CUSTOMER_ID: 'anonymous'
schema-registry:
image: confluentinc/cp-schema-registry:3.2.1
