...
Metadata Response (Version: 10) => throttle_time_ms [brokers] cluster_id controller_id [topics] cluster_authorized_operations throttle_time_ms => INT32 brokers => node_id host port rack node_id => INT32 host => STRING
port => INT32
rack => STRING cluster_id => STRING controller_id => INT32 topics => error_code name is_internal [partitions] topic_authorized_operations topic_id* error_code => INT16 name => STRING is_internal => BOOL partitions => error_code partition_index leader_id leader_epoch [replica_nodes] [isr_nodes] [offline_replicas] error_code => INT16 partition_index => INT32 leader_id => INT32 leader_epoch => INT32 replica_nodes => [] INT32 isr_nodes => [] INT32 offline_replicas => [] INT32 topic_authorized_operations => INT32 topic_id* => UUID
cluster_authorized_operations => INT32
|
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.
UpdateMetadata
UpdateMetadata should also include the topic ID.
UpdateMetadataRequest v7
UpdateMetadata Request (Version: 7) => controller_id controller_epoch broker_epoch [ungrouped_partition_states] [topic_states] [live_brokers] controller_id => INT32 controller_epoch => INT32 broker_epoch => INT64 ungrouped_partition_states => UpdateMetadataPartitionState topic_states => topic_name topic_id* [partition_states] topic_name => STRING topic_id* => UUID partition_states => UpdateMetadataPartitionState live_brokers => id v0_host v0_port [endpoints] rack id => INT32 v0_host => STRING v0_port => INT32 endpoints => port host listener security_protocol port => INT32 host => STRING listener => STRING security_protocol => INT16 rack => STRING
|
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.
When the controller When the contoller receives a DeleteTopicsRequest, if the IBP is >= MIN_TOPIC_ID_VERSION it will delete the /brokers/topics/[topic] znode payload and immediately reply to the DeleteTopicsRequest with a successful response. At this point, the topic is considered deleted, and a topic with the same name can be created.
...