8000 GitHub - tjandrayana/nsq-tail
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tjandrayana/nsq-tail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nsq-tail

How to get message from NSQ ? You can use this service now.

Why I create this ?

When I learn nsq for the first time, I found problem how to get the message. My friend just tell me to get nsq tail. I don't know how to run nsq tail for the first time. Based on my problem, hopefully this service can help you to get the nsq message. Please just tell your friend, "Hei you, just clone https://github.com/tjandrayana/nsq-tail repository and then run the service."

How To Use ???

1. Clone this repository
2. Run the service 
3. Do request use postman / curl

Example

- Request

Method : POST
URL : http://localhost:8005/get-nsq-messages
Body : 
{
	"lookup_url" : "10.2.0.3",
	"lookup_port":"4161",
	"topic":"User_Info",
	"total_messages":1
}
-----------------------------------------------------

- Response

{
	"user_id":12345,
	"age":20,
	"email":"\"try@gmail.com\""
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0