MCPcopy
hub / github.com/nsqio/nsq

github.com/nsqio/nsq @v1.3.0 sqlite

repository ↗ · DeepWiki ↗ · release v1.3.0 ↗
1,101 symbols 6,117 edges 139 files 99 documented · 9%
README

  • Source: https://github.com/nsqio/nsq
  • Issues: https://github.com/nsqio/nsq/issues
  • Mailing List: nsq-users@googlegroups.com
  • IRC: #nsq on freenode
  • Docs: https://nsq.io
  • Twitter: @nsqio

Build Status GitHub release Coverage Status

NSQ is a realtime distributed messaging platform designed to operate at scale, handling billions of messages per day.

It promotes distributed and decentralized topologies without single points of failure, enabling fault tolerance and high availability coupled with a reliable message delivery guarantee. See features & guarantees.

Operationally, NSQ is easy to configure and deploy (all parameters are specified on the command line and compiled binaries have no runtime dependencies). For maximum flexibility, it is agnostic to data format (messages can be JSON, MsgPack, Protocol Buffers, or anything else). Official Go and Python libraries are available out of the box (as well as many other client libraries), and if you're interested in building your own, there's a protocol spec.

We publish binary releases for Linux, Darwin, FreeBSD and Windows, as well as an official Docker image.

NOTE: master is our development branch and may not be stable at all times.

In Production

              

              

              

              

              

        

Code of Conduct

Help us keep NSQ open and inclusive. Please read and follow our Code of Conduct.

Authors

NSQ was designed and developed by Matt Reiferson (@imsnakes) and Jehiah Czebotar (@jehiah) but wouldn't have been possible without the support of Bitly, maintainers (Pierce Lopez), and all our contributors.

Logo created by Wolasi Konu (@kisalow).

Extension points exported contracts — how you extend this code

ClientStats (Interface)
(no doc) [8 implementers]
nsqd/stats.go
BackendQueue (Interface)
BackendQueue represents the behavior for the secondary message storage system [2 implementers]
nsqd/backend_queue.go
Protocol (Interface)
Protocol describes the basic behavior of any protocol in the system [2 implementers]
internal/protocol/protocol.go
Logger (Interface)
(no doc) [3 implementers]
internal/test/logger.go
Logger (Interface)
(no doc) [3 implementers]
internal/lg/lg.go
Publisher (Interface)
(no doc) [2 implementers]
apps/nsq_to_http/nsq_to_http.go
Consumer (Interface)
(no doc)
nsqd/channel.go
Client (Interface)
(no doc)
nsqd/tcp.go

Core symbols most depended-on inside this repo

Equal
called by 671
internal/test/assertions.go
Nil
called by 410
internal/test/assertions.go
Close
called by 214
nsqd/channel.go
Exit
called by 146
nsqd/nsqd.go
NewTestLogger
called by 136
internal/test/logger.go
NewOptions
called by 125
nsqd/options.go
logf
called by 112
nsqd/logger.go
getOpts
called by 107
nsqd/nsqd.go

Shape

Function 481
Method 463
Struct 112
TypeAlias 28
Interface 14
FuncType 3

Languages

Go98%
TypeScript2%
Python1%

Modules by API surface

nsqd/protocol_v2_test.go86 symbols
nsqd/protocol_v2_unixsocket_test.go77 symbols
internal/clusterinfo/types.go42 symbols
nsqd/channel.go40 symbols
nsqd/client_v2.go38 symbols
nsqd/nsqd.go37 symbols
internal/clusterinfo/data.go35 symbols
nsqlookupd/registration_db.go26 symbols
nsqadmin/http.go26 symbols
nsqadmin/http_test.go25 symbols
nsqd/topic.go24 symbols
nsqd/protocol_v2.go24 symbols

Dependencies from manifests, versioned

github.com/bitly/go-hostpoolv0.1.0 · 1×
github.com/bitly/timer_metricsv1.0.0 · 1×
github.com/blang/semverv3.5.1+incompatible · 1×
github.com/bmizerany/perksv0.0.0-2014120500151 · 1×
github.com/golang/snappyv0.0.4 · 1×
github.com/judwhite/go-svcv1.2.1 · 1×
github.com/mreiferson/go-optionsv1.0.0 · 1×
github.com/nsqio/go-diskqueuev1.1.0 · 1×

For agents

$ claude mcp add nsq \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact