30 lines
308 B
Markdown
30 lines
308 B
Markdown
|
# NSQ
|
||
|
|
||
|
A realtime distributed messaging platform
|
||
|
|
||
|
## Setup
|
||
|
|
||
|
start the NSQ lookupd
|
||
|
|
||
|
```sh
|
||
|
nsqlookupd
|
||
|
```
|
||
|
|
||
|
start the NSQ server
|
||
|
|
||
|
```sh
|
||
|
nsqd --lookupd-tcp-address=localhost:4160
|
||
|
```
|
||
|
|
||
|
start the NSQ admin dashboard
|
||
|
|
||
|
```sh
|
||
|
nsqadmin --lookupd-http-address localhost:4161
|
||
|
```
|
||
|
|
||
|
## Testing
|
||
|
|
||
|
```sh
|
||
|
go test -v ./...
|
||
|
```
|