You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sergey Nuyanzin (Jira)" <ji...@apache.org> on 2022/11/17 08:40:00 UTC

[jira] [Created] (FLINK-30056) Make polling for metadata no more than specified timeout by using new Consumer#poll(Duration)

Sergey Nuyanzin created FLINK-30056:
---------------------------------------

             Summary: Make polling for metadata no more than specified timeout by using new Consumer#poll(Duration) 
                 Key: FLINK-30056
                 URL: https://issues.apache.org/jira/browse/FLINK-30056
             Project: Flink
          Issue Type: Improvement
          Components: Connectors / Kafka
    Affects Versions: 1.17.0
            Reporter: Sergey Nuyanzin


New {{Consumer#poll}}
* poll for metadata responses (counts against timeout)
* if no response within timeout, return an empty collection immediately

Also more details are at https://cwiki.apache.org/confluence/display/KAFKA/KIP-266%3A+Fix+consumer+indefinite+blocking+behavior#KIP266:Fixconsumerindefiniteblockingbehavior-Consumer#poll

The behavior was changed at https://issues.apache.org/jira/browse/KAFKA-5697



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