[ 
https://issues.apache.org/jira/browse/KAFKA-6640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16396241#comment-16396241
 ] 

ASF GitHub Bot commented on KAFKA-6640:
---------------------------------------

lindong28 opened a new pull request #4694: KAFKA-6640; Improve efficiency of 
KafkaAdminClient.describeTopics()
URL: https://github.com/apache/kafka/pull/4694
 
 
   Currently in KafkaAdminClient.describeTopics(), for each topic in the 
request, an complete map of cluster and errors will be constructed for every 
topic and partition. This unnecessarily increases the complexity of 
describeTopics() to O(n^2). This patch improves the complexity to O(n).
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Improve efficiency of KafkaAdminClient.describeTopics()
> -------------------------------------------------------
>
>                 Key: KAFKA-6640
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6640
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Dong Lin
>            Assignee: Dong Lin
>            Priority: Major
>
> Currently in KafkaAdminClient.describeTopics(), for each topic in the 
> request, an complete map of cluster and errors will be constructed for every 
> topic and partition. This unnecessarily increases the complexity of 
> describeTopics() to O(n^2).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to