Kuan Po Tseng created KAFKA-19628:
-------------------------------------

             Summary: Support partitionSizeLimitPerResponse for topicId–based 
describeTopics request
                 Key: KAFKA-19628
                 URL: https://issues.apache.org/jira/browse/KAFKA-19628
             Project: Kafka
          Issue Type: Improvement
          Components: admin, core
            Reporter: Kuan Po Tseng
            Assignee: Kuan Po Tseng


DescribeTopicsOptions.partitionSizeLimitPerResponse is a prerequisite for 
supporting pagination, which is useful for requests involving a large number of 
topics.

Currently, when calling Admin#describeTopics(TopicCollection) with topic IDs, 
KafkaAdminClient uses a MetadataRequest under the hood. However, 
MetadataRequest does not support the partitionSizeLimitPerResponse option. This 
means that pagination is effectively unsupported for topic ID–based requests.

In contrast, partitionSizeLimitPerResponse is supported by 
DescribeTopicPartitionsRequest. However, this RPC currently only supports topic 
names, not topic IDs. To enable full pagination support across both topic names 
and topic IDs, we would need to extend DescribeTopicPartitionsRequest to accept 
topic IDs as an additional field.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to