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

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

aurlien commented on pull request #7444: KAFKA-8976:  AdminClient deleteRecords 
should not fetch metadata unnecessarily
URL: https://github.com/apache/kafka/pull/7444
 
 
   If a user calls deleteRecords with an empty map, the AdminClient should not 
do an unnecessary metadata lookup. 
   
   No new tests needed?
   
   ### 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 to 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


> AdminClient deleteRecords should not fetch metadata unnecessarily
> -----------------------------------------------------------------
>
>                 Key: KAFKA-8976
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8976
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Jason Gustafson
>            Priority: Major
>
> If a user calls deleteRecords with an empty map, the AdminClient will do an 
> unnecessary metadata lookup. We may as well shortcut return. There may be 
> other APIs with a similar problem.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to