[ https://issues.apache.org/jira/browse/KAFKA-15551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17827990#comment-17827990 ]
Lianet Magrans commented on KAFKA-15551: ---------------------------------------- Also, given how tight the deadline is to get the fix/PR in, I would suggest we focus on the new consumer only. If we find things that could be improved in this sense in the old one, we could file a separate Jira for it and tackle it afterwards. > Evaluate conditions for short circuiting consumer API calls > ----------------------------------------------------------- > > Key: KAFKA-15551 > URL: https://issues.apache.org/jira/browse/KAFKA-15551 > Project: Kafka > Issue Type: Improvement > Components: clients, consumer > Reporter: Philip Nee > Assignee: Lianet Magrans > Priority: Major > Labels: consumer-threading-refactor, events > Fix For: 3.8.0 > > > For conditions like: > * Committing empty offset > * Fetching offsets for empty partitions > * Getting empty topic partition position > Should be short circuit possibly at the API level. > As a bonus, we should double-check whether the existing {{KafkaConsumer}} > implementation suffers from this. -- This message was sent by Atlassian Jira (v8.20.10#820010)