Skip to content

Instantly share code, notes, and snippets.

@miguno
Last active May 19, 2017 22:10
Show Gist options
  • Save miguno/5ff337dfb0e6666ef7e053265f9efdb7 to your computer and use it in GitHub Desktop.
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
# 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