Justine Olshan created KAFKA-15380:
--------------------------------------

             Summary: Try complete actions after callback
                 Key: KAFKA-15380
                 URL: https://issues.apache.org/jira/browse/KAFKA-15380
             Project: Kafka
          Issue Type: Sub-task
            Reporter: Justine Olshan
            Assignee: Justine Olshan


KIP-890 part 1 introduced the callback request type. It is used to execute a 
callback after KafkaApis.handle has returned. We did not account for 
tryCompleteActions at the end of handle when making this change.

In tests, we saw produce p99 increase dramatically (likely because we have to 
wait for another request before we can complete DelayedProduce). As a result, 
we should add the tryCompleteActions after the callback as well. In testing, 
this improved the produce performance.



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

Reply via email to