Created
December 9, 2016 19:47
-
-
Save ebenoist/50db07eb6c740a71056c72f61f9c53b6 to your computer and use it in GitHub Desktop.
discover-topics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl nsqlookupd1.local:4161/nodes?topics=clicks | |
{ | |
"status_code": 200, | |
"status_txt": "OK", | |
"data": { | |
"producers": [ | |
{ | |
"remote_address": "127.0.0.1:17418", | |
"hostname": "box1", | |
"broadcast_address": "127.0.0.1", | |
"tcp_port": 4150, | |
"http_port": 4151, | |
"version": "0.3.8", | |
"tombstones": [ | |
false | |
], | |
"topics": [ | |
"clicks" | |
] | |
}, | |
{ | |
"remote_address": "127.0.0.1:17424", | |
"hostname": "box2", | |
"broadcast_address": "127.0.0.1", | |
"tcp_port": 4150, | |
"http_port": 4151, | |
"version": "0.3.8", | |
"tombstones": [ | |
false | |
], | |
"topics": [ | |
"clicks" | |
] | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment