...
Swapping a the topic name for the topic ID will cut down on the size of the request.
ProduceRequest v9
|
ProduceResponse v9
|
DeleteTopics
With the addition of topic IDs and the changes to LeaderAndIsrRequest described above, we can now make changes to topic deletion logic that will allow topics to be immediately considered deleted, regardless of whether all replicas have responded to a DeleteTopicsRequest.
...
A few other alternatives to the partition metadata file were considered. One topic of discussion was whether it was necessary to include at all. With While the current decision of maintaining the topic name is used in the directory structure, the only way to persist the topic ID to disk is through a file. As discussed above, the directory changes will not be added until a major release.
...