[ https://issues.apache.org/jira/browse/KAFKA-19588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kirk True updated KAFKA-19588: ------------------------------ Description: We create—and wait on—{{{}PollEvent{}}} in {{Consumer.poll()}} to ensure we wait for reconciliation and/or auto-commit. However, reconciliation is relatively rare, and auto-commit only happens every _N_ seconds, so the remainder of the time, we should try to avoid sending poll events. > Reduce number of events generated in AsyncKafkaConsumer.poll() > -------------------------------------------------------------- > > Key: KAFKA-19588 > URL: https://issues.apache.org/jira/browse/KAFKA-19588 > Project: Kafka > Issue Type: Improvement > Components: clients, consumer > Reporter: Kirk True > Assignee: Kirk True > Priority: Major > Labels: async-kafka-consumer-performance, > consumer-threading-refactor, performance > > We create—and wait on—{{{}PollEvent{}}} in {{Consumer.poll()}} to ensure we > wait for reconciliation and/or auto-commit. However, reconciliation is > relatively rare, and auto-commit only happens every _N_ seconds, so the > remainder of the time, we should try to avoid sending poll events. -- This message was sent by Atlassian Jira (v8.20.10#820010)