Skip to content

kecci/go-nsq-compare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-nsq-compare

Install & Run nsq daemon with Dockerfile:

$ docker-compose up -d

check nsq web ui: http://127.0.0.1:4171

nsqio/go-nsq

Run producer & consumer :

$ go run nsqio/main.go

output:

2021/02/06 06:31:29 INF    1 (127.0.0.1:4150) connecting to nsqd
2021/02/06 06:31:29 INF    2 [hello-topic/hello-channel] (127.0.0.1:4150) connecting to nsqd
2021/02/06 06:31:29 NSQ message received, msg: Hello World

more info: https://github.com/nsqio/go-nsq

segmentio/nsq-go

Run producer & consumer :

$ go run segmentio/main.go

output:

2021/02/06 06:31:42 opening nsqd connection to localhost:4150
Hello World!

more info: https://github.com/segmentio/nsq-go

About

Comparison of Nsq Producer & Consumer in Go

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages