# pulsar-go **Repository Path**: a-little-dragon/pulsar-go ## Basic Information - **Project Name**: pulsar-go - **Description**: 该项目是基于pulasar的go语言最佳实战,提供了go语言在使用pulasar的消息发送和接收能力 - **Primary Language**: Go - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-08-30 - **Last Updated**: 2023-09-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pulasar-go #### 介绍 该项目是基于pulasar的go语言最佳实战 提供了go语言在使用pulasar租户功能的简单案例 同时再comsumer包和produce包下是一个发送接收的简单功能 模拟了Rocket mq的运维能力,可以用于运维验证pulsar的部署成功 #### 软件架构 消息中间件:apache-pulsar 配置文件读取:viper 日志:zap #### 安装教程 1. git clone https://gitee.com/a-little-dragon/pulsar-go.git 2. cd pulsar-go 3. go mod tidy 4. comsumer为消息接收端 producer为消息发送端 example为pulsar的租户用法 5. 选择指定目录(以producer为例子) 6. cd producer 7. go build producer.go 8. producer.exe #### 使用说明 1. go语言最低版本号必须在1.18 2. 需要在gomod文件中修改为本地的go语言版本 3. 修改config目录下application.yml配置文件,改为你所使用的pulsar配置 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 后续规划 1. 后续规划提交pulsar-admin功能 #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)