【文件属性】:
文件名称:Apache-Kafka-using-Spring-Boot
文件大小:1KB
文件格式:ZIP
更新时间:2021-03-19 04:14:04
来源:该项目的完整源代码可以在这里找到: :
设置卡夫卡
启动Zookeeper和Kafka经纪人
启动Zookeeper。
zookeeper-server-start.bat ..\..\config\zookeeper.properties
启动Kafka Broker。
kafka-server-start.bat ..\..\config\server.properties
如何创建主题?
kafka-topics.bat --create --topic test-topic -zookeeper localhost:2181 --replication-factor 1 --partitions 4
如何实例化控制台生产者?
没有钥匙
kafka-console-producer.bat --broker-list localhost:9092 --topic te
【文件预览】:
Apache-Kafka-using-Spring-Boot-main
----README.md(3KB)