You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kirk True (Jira)" <ji...@apache.org> on 2023/10/05 21:39:00 UTC
[jira] [Updated] (KAFKA-15555) Ensure wakeups are handled correctly in PrototypeAsyncConsumer.poll()
[ https://issues.apache.org/jira/browse/KAFKA-15555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kirk True updated KAFKA-15555:
------------------------------
Description:
The implementation of the {{poll()}} method in {{PrototypeAsyncConsumer}} does not disable wakeups in the same manner that {{KafkaConsumer}} does. Investigate how to make the new implementation consistent with the functionality of the existing implementation.
There was a comment in the code that I plan to remove, but I will leave it here for reference:
{quote}// TODO: Once we implement poll(), clear wakeupTrigger in a finally block: wakeupTrigger.clearActiveTask();{quote}
was:The implementation of the {{poll()}} method in {{PrototypeAsyncConsumer}} does not disable wakeups in the same manner that {{KafkaConsumer}} does. Investigate how to make the new implementation consistent with the functionality of the existing implementation.
> Ensure wakeups are handled correctly in PrototypeAsyncConsumer.poll()
> ---------------------------------------------------------------------
>
> Key: KAFKA-15555
> URL: https://issues.apache.org/jira/browse/KAFKA-15555
> Project: Kafka
> Issue Type: Sub-task
> Reporter: Kirk True
> Priority: Major
>
> The implementation of the {{poll()}} method in {{PrototypeAsyncConsumer}} does not disable wakeups in the same manner that {{KafkaConsumer}} does. Investigate how to make the new implementation consistent with the functionality of the existing implementation.
> There was a comment in the code that I plan to remove, but I will leave it here for reference:
> {quote}// TODO: Once we implement poll(), clear wakeupTrigger in a finally block: wakeupTrigger.clearActiveTask();{quote}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)