You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Shivsundar R (Jira)" <ji...@apache.org> on 2025/12/22 17:07:00 UTC

[jira] [Assigned] (KAFKA-20015) ShareConsumer should stop polling form background thread once application thread times out.

     [ https://issues.apache.org/jira/browse/KAFKA-20015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shivsundar R reassigned KAFKA-20015:
------------------------------------

    Assignee: Shivsundar R

> ShareConsumer should stop polling form background thread once application thread times out.
> -------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-20015
>                 URL: https://issues.apache.org/jira/browse/KAFKA-20015
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Shivsundar R
>            Assignee: Shivsundar R
>            Priority: Major
>
> Currently, when ShareConsumerImpl-poll() times out with an empty response, the background thread does not automatically stop fetching from the broker. The ShareConsumeRequestManager keeps sending requests until it actually receives any data.
> This means we could continue fetching from the broker when we did not intend to and these records would unnecessarily start timing out sooner than we want.
> We can maybe stop sending fetch requests as soon as the user passed timeout completes on the application.



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