Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nsq v1.3.0

Provision local nsq cluster using Docker compose

docker compose up -d

create a 'test' topic

curl -d 'hello world 1' 'http://127.0.0.1:4151/pub?topic=test'

Run a Python client as a 'test' topic listener

it will 'hang' in the Terminal until it receives message from 'test' topic

python3 -m venv env && source env/bin/activate

pip install -r requirements.py

python3 main.py

post messages to 'test' topic

  • in a new terminal
curl -d 'hello world 1' 'http://127.0.0.1:4151/pub?topic=test'

curl -d 'hello world 2' 'http://127.0.0.1:4151/pub?topic=test'

you'll see the messages get printed in the python script's shell

admin panel

http://localhost:417

sources

https://nsq.io/deployment/docker.html

About

playground to experiment with nsq - A realtime distributed messaging platform

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages