百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
N

nsq-go

> 开发工具
开源

提供用于构建 NSQ 客户端、服务器和中间件的工具包。

99 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

提供用于构建 NSQ 客户端、服务器和中间件的工具包。

nsq-go

Go package providing tools for building NSQ clients, servers and middleware.

Motivations

We ran into production issues with the standard nsq-go package where our workers would enter deadlock situations where they would stop consuming messages and just hang in endless termination loops. After digging through the code and trying to figure out how to address the problem it became clear that a rewrite was going to be faster than dealing with the amount of state synchronization that was done in nsq-go (multiple mutexes, channels and atomic variables involved).

This package is designed to offer less features than the standard nsq-go package and instead focus on simplicity and ease of maintenance and integration.

Consumer

…

Producer

…

Testing

Unit tests expect Consul and a set of NSQ daemons to be running. Start them using Docker Compose, and then run unit tests.

bash
docker compose up -d
go test -v -race ./...
docker compose down

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Goconsulgogolangnsq

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具