Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Represent topic IDs in base64 when stored or printed as strings

...

The znode value will now contain the topic ID for the topic, represented as a base64 string in the "id" field, and the schema version will be bumped to version 2.

Schema:
{ "fields" :
    [ {"name": "version", "type": "int", "id": "UUID", "doc": "version id"},
      {"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"},
      }
    ]
}
 
Example:
{
  "version": 23,
  "id": "24cc4332-f7de-45a3-b24e-33d61aa0d16cb8tRS7h4TJ2Vt43Dp85v2A",
  "partitions": {"0": [0, 1, 3] }
}

...