Runs a multi-node Kafka cluster w/ 3 brokers available at locahost:9091,localhost:9092,localhost:9093
.
To start the brokers run the following command:
docker-compose -f ./kafka-cluster.yml up
To stop the brokers run the following command:
docker-compose -f ./kafka-cluster.yml down
Tip
|
To start the containers in the foreground simply add -d to the start command. To stop containers that are running in the foreground simple issue CTRL-C command.
|
Runs a Confluent Control Center that exposes a UI at http://locahost:9021.
Note
|
The scripts must be chained together as the UI depends on the brokers |
To start the brokers and the Control Center UI run the following command:
docker-compose -f ./kafka-cluster.yml -f ./control-center-ui.yml up
To stop the brokers and the Control Center UI run the following command:
docker-compose -f ./kafka-cluster.yml -f ./control-center-ui.yml down
Runs a Confluent Schema Registry available at http://locahost:8081.
Note
|
The scripts must be chained together as the schema registry depends on the brokers |
To start the brokers and the schema registry run the following command:
docker-compose -f ./kafka-cluster.yml -f ./schema-registry.yml up
To stop the brokers and the schema registry run the following command:
docker-compose -f ./kafka-cluster.yml -f ./schema-registry.yml down
The scripts can be chained together to start the cluster, UI and schema registry with the following commmand:
docker-compose -f kafka-cluster.yml -f ./control-center-ui.yml -f ./schema-registry.yml up
Likewise, to stop all the things:
docker-compose -f kafka-cluster.yml -f ./control-center-ui.yml -f ./schema-registry.yml down
Tip
|
The only "UI" representation of the schema registry is by navigating to a Topic and then clicking the Schema tab for the topic
|
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。