Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

nsq-go

> 开发工具
Open source

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

99 stars0 likes1 views
WebsiteGitHub

About

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

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 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Goconsulgogolangnsq

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category开发工具
PricingOpen source

> Related tools

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