...
|
...
|
...
|
...
- CreatePartitionsRequest
- ElectPreferredLeadersRequest
- AlterReplicaLogDirsRequest
- AlterConfigsRequest
- DescribeConfigsRequest
- DescribeLogDirsRequest
- DeleteRecordsRequest
- AddPartitionsToTxnRequest
- TxnOffsetCommitRequest
- WriteTxnMarkerRequest
AdminClient
There are further changes to AdminClient made possible by adding topic ids. By adding topic ids to various request types (like those listed above) AdminClient can support identifying topics by ID. Some examples include but are not limited to:
- Using topic ids to specify what topics should receive new partitions in createPartitions
- Return ids in ListTopicsResult or TopicListing for listTopics
- Adding id to a type like TopicPartition or TopicPartitionReplica (see TopicIdPartition below)
- Using topic ids (currently TopicPartition) to specify topic of the partitions for deleteRecords
- Using topic ids (currently TopicPartitionReplica) to specify topic for alterReplicaLogDirs
- Using topic ids (currently TopicPartition) to specify topic of the partitions for electLeaders
Clients
Some of the implemented request types are also relevant to clients. Adding full support for topic IDs in the clients would add an additional measure of safety when producing and consuming data. Fully supporting Topic IDs in clients is out of scope for this KIP due to the numerous public APIs that will need adjustments.
...