Schema:
{ "fields" :
[ {"name": "version", "type": "int", "doc": "version id},
{"name": "id", "type": "option[UUID]string"}, "doc": topic idoption[UUID]},
{"name": "partitions",
"type": {"type": "map",
"values": {"type": "array", "items": "int", "doc": "a list of replica ids"},
"doc": "a map from partition id to replica list"},
{"name": "adding_replicas",
"type": {"type": "map",
"values": {"type": "array", "items": "int", "doc": "a list of replica ids"},
"doc": "a map from partition id to a list of replicas to add in a pending reassignment"}, {"name": "removing_replicas",
"type": {"type": "map",
"values": {"type": "array", "items": "int", "doc": "a list of replica ids"},
"doc": "a map from partition id to a list of replicas to remove in a pending reassignment"},
}
]
}
Example:
{
"version": 3,
"id": "b8tRS7h4TJ2Vt43Dp85v2A",
"partitions": {"0": [0, 1, 3] },
"adding_replicas": {},
"removing_replicas": {}
} |