[ https://issues.apache.org/jira/browse/FLINK-30056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler closed FLINK-30056. ------------------------------------ Fix Version/s: 1.17.0 Resolution: Fixed master: 5e0e0fde6305577192fe8020fcb1fa8ca3bd115e > 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 > Assignee: Sergey Nuyanzin > Priority: Major > Labels: pull-request-available > Fix For: 1.17.0 > > > 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)