Eric Chang created KAFKA-21729:
----------------------------------

             Summary: Let AsyncKafkaConsumer send the next fetch while fetched 
data is still buffered
                 Key: KAFKA-21729
                 URL: https://issues.apache.org/jira/browse/KAFKA-21729
             Project: Kafka
          Issue Type: Sub-task
          Components: clients, consumer
            Reporter: Eric Chang
            Assignee: Eric Chang


{{AsyncKafkaConsumer}} does not send a fetch request to a broker while it has 
buffered data from that broker, so the consumer waits for the network while the 
client has free CPU. We could let a connection send the next fetch request 
while data is buffered, up to a prefetch limit (the size of its last response). 
It adds no connection, no fetch session and no thread.

This changes when fetch requests are sent and how much data the consumer 
buffers, so it needs a KIP.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to