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)