[
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)