Shivsundar R created KAFKA-20015:
------------------------------------
Summary: 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
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)