@@ -20,21 +20,45 @@ TIP: To start the containers in the foreground simply add `-d` to the start comm
2020=== Control Center UI
2121Runs a https://docs.confluent.io/platform/current/control-center/index.html[Confluent Control Center] that exposes a UI at http://locahost:9021.
2222
23- NOTE: It is expected that the brokers are already running
23+ NOTE: The scripts must be chained together as the UI depends on the brokers
2424
25- To start the Control Center run the following command:
25+ To start the brokers and the Control Center UI run the following command:
2626[source,shell]
2727----
28- docker-compose -f ./control-center-ui.yml up
28+ docker-compose -f ./kafka-cluster.yml -f ./ control-center-ui.yml up
2929----
30- To stop the Control Center run the following command:
30+ To stop the brokers and the Control Center UI run the following command:
3131[source,shell]
3232----
33- docker-compose -f ./control-center-ui.yml down
33+ docker-compose -f ./kafka-cluster.yml -f ./ control-center-ui.yml down
3434----
3535
36- TIP: The scripts can be chained together to start both cluster and UI in a single command
36+ === Schema Registry
37+ Runs a https://docs.confluent.io/platform/current/schema-registry/index.html[Confluent Schema Registry] available at http://locahost:8081.
38+
39+ NOTE: The scripts must be chained together as the schema registry depends on the brokers
40+
41+ To start the brokers and the schema registry run the following command:
3742[source,shell]
3843----
39- docker-compose -f kafka-cluster.yml -f ./control-center-ui.yml up`
44+ docker-compose -f ./kafka-cluster.yml -f ./schema-registry.yml up
45+ ----
46+ To stop the brokers and the schema registry run the following command:
47+ [source,shell]
4048----
49+ docker-compose -f ./kafka-cluster.yml -f ./schema-registry.yml down
50+ ----
51+
52+ === All The Things
53+ The scripts can be chained together to start the cluster, UI and schema registry with the following commmand:
54+ [source,shell]
55+ ----
56+ docker-compose -f kafka-cluster.yml -f ./control-center-ui.yml -f ./schema-registry.yml up
57+ ----
58+ Likewise, to stop all the things:
59+ [source,shell]
60+ ----
61+ docker-compose -f kafka-cluster.yml -f ./control-center-ui.yml -f ./schema-registry.yml down
62+ ----
63+
64+ TIP: The only "UI" representation of the schema registry is by navigating to a `Topic` and then clicking the `Schema` tab for the topic
0 commit comments