You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Tommy Becker (JIRA)" <ji...@apache.org> on 2017/04/07 16:10:41 UTC
[jira] [Created] (KAFKA-5042) InFlightRequests#isEmpty() always
returns false
Tommy Becker created KAFKA-5042:
-----------------------------------
Summary: InFlightRequests#isEmpty() always returns false
Key: KAFKA-5042
URL: https://issues.apache.org/jira/browse/KAFKA-5042
Project: Kafka
Issue Type: Bug
Components: clients
Reporter: Tommy Becker
While perusing the NetworkClient code I came across the following: InFlightRequests#isEmpty() always returns false.
{code}
public boolean isEmpty() {
for (Deque<NetworkClient.InFlightRequest> deque : this.requests.values()) {
if (!deque.isEmpty())
return false;
}
return false;
}
{code}
This method looks like a recent addtion.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)