Last active
May 19, 2017 22:10
-
-
Save miguno/5ff337dfb0e6666ef7e053265f9efdb7 to your computer and use it in GitHub Desktop.
REST API example 1: list all running application instances of the Kafka Music application
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
# List all running application instances of the Kafka Music application | |
$ curl -sXGET http://localhost:7070/kafka-music/instances | |
# You should see output similar to following, though here | |
# the output is pretty-printed so that it's easier to read: | |
[ | |
{ | |
"host": "localhost", | |
"port": 7070, | |
"storeNames": [ | |
"all-songs", | |
"song-play-count", | |
"top-five-songs", | |
"top-five-songs-by-genre" | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment