Skip to content

Instantly share code, notes, and snippets.

@mreiferson
Created May 9, 2013 15:54
Show Gist options
  • Save mreiferson/5548351 to your computer and use it in GitHub Desktop.
Save mreiferson/5548351 to your computer and use it in GitHub Desktop.
example response from nsqlookupd
{
"status_code": 200,
"status_txt": "OK",
"data": {
"channels": ["archive", "science", "metrics"],
"producers": [
{
"broadcast_address": "clicksapi01.routable.domain.net",
"hostname": "clicksapi01.domain.net",
"tcp_port": 4150,
"http_port": 4151,
"version": "0.2.18"
},
{
"broadcast_address": "clicksapi02.routable.domain.net",
"hostname": "clicksapi02.domain.net",
"tcp_port": 4150,
"http_port": 4151,
"version": "0.2.18"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment