文件名称:go-kafka-example:Golang Kafka消费者和生产者示例
文件大小:196KB
文件格式:ZIP
更新时间:2024-05-25 23:14:59
golang kafka examples stream-processing producer-consumer
Golang Kafka示例 示例Golang Kafka消费者和生产者 设置 制片人 go run cmd/producer/main.go 消费者 标志: brokerList 话题 分区(默认值:0) offsetType messageCountStart(默认值:0) go run cmd/consumer/main.go Received messages Something Cool #1 Received messages Something Cool #2 Received messages Something Cool #3 Received messages Something Cool #4 Received messages Something Cool #5 贡献 我们非常感谢您对go-kafka-example的贡献,请查看LICEN
【文件预览】:
go-kafka-example-master
----.gitignore(14B)
----go.mod(587B)
----Makefile(551B)
----LICENSE(1KB)
----producer.png(11KB)
----go.sum(10KB)
----README.md(2KB)
----header.jpg(199KB)
----cmd()
--------producer()
--------consumer()