depends_on:
- zookeeper
+ schema-registry:
+ image: confluentinc/cp-schema-registry:6.2.0
+ hostname: schema-registry
+ ports:
+ - "9081:9081"
+ environment:
+ SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS: PLAINTEXT://kafka:9092
+ SCHEMA_REGISTRY_HOST_NAME: schema-registry
+ SCHEMA_REGISTRY_LISTENERS: http://0.0.0.0:9081
+ depends_on:
+ - zookeeper
+ - kafka
+
+
recorder:
image: juplo/wordcount--recorder:1.0.0
environment:
done"
cli:
- image: confluentinc/cp-kafka:6.2.0
+ image: juplo/toolbox
command: bash -c "
cub kafka-ready -b kafka:9092 1 60 ;
kafka-topics --bootstrap-server kafka:9092 --create --partitions 10 --topic recordings ;
kafka-topics --bootstrap-server kafka:9092 --create --partitions 10 --topic top10 ;
sleep infinity"
- kafkacat:
- image: confluentinc/cp-kafkacat:6.2.0
- command: sleep infinity
-
networks:
default:
external: