mirror of https://github.com/apache/kafka.git
Update AsyncKafkaConsumer.java
This commit is contained in:
parent
68f5bc19d3
commit
5215030a4c
|
@ -1829,9 +1829,6 @@ public class AsyncKafkaConsumer<K, V> implements ConsumerDelegate<K, V> {
|
||||||
|
|
||||||
// We do not want to be stuck blocking in poll if we are missing some positions
|
// We do not want to be stuck blocking in poll if we are missing some positions
|
||||||
// since the offset lookup may be backing off after a failure
|
// since the offset lookup may be backing off after a failure
|
||||||
|
|
||||||
// NOTE: the use of cachedSubscriptionHasAllFetchPositions means we MUST call
|
|
||||||
// updateAssignmentMetadataIfNeeded before this method.
|
|
||||||
if (pollTimeout > retryBackoffMs) {
|
if (pollTimeout > retryBackoffMs) {
|
||||||
pollTimeout = retryBackoffMs;
|
pollTimeout = retryBackoffMs;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue