Skip to content

Instantly share code, notes, and snippets.

@miguno
Last active September 2, 2016 14:23
Show Gist options
  • Save miguno/b670b1d3a346ac106bcdfb6df264b2cc to your computer and use it in GitHub Desktop.
Save miguno/b670b1d3a346ac106bcdfb6df264b2cc to your computer and use it in GitHub Desktop.
Get all key-value records of state store "word-count" across all instances
# Get all key-value records of state store "word-count" across all instances
$ http://localhost:7070/state/keyvalues/word-count/all 
[
	{
		"key": "a",
		"value": 147
	},
	{
		"key": "creek",
		"value": 82
	},
	{
		"key": "hat",
		"value": 64
	},
	{
		"key": "in",
		"value": 64
	},
	{
		"key": "jolly",
		"value": 55
	},
	{
		"key": "kafka",
		"value": 138
	},
	{
		"key": "paddle",
		"value": 82
	},
	{
		"key": "rave",
		"value": 69
	},
	{
		"key": "sam",
		"value": 59
	},
	{
		"key": "sleep",
		"value": 69
	},
	{
		"key": "tank",
		"value": 65
	},
	{
		"key": "up",
		"value": 82
	},
	{
		"key": "world",
		"value": 143
	}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment