李壮壮 created KAFKA-13323:
---------------------------

             Summary: The words are ambiguous
                 Key: KAFKA-13323
                 URL: https://issues.apache.org/jira/browse/KAFKA-13323
             Project: Kafka
          Issue Type: Improvement
          Components: clients
    Affects Versions: 3.0.0, 2.0.0
            Reporter: 李壮壮


In 'Fether' class, there is a field means consumer client should record whether 
the cached subscriptions have  fetchPosition in order to do 
'updateFetchPositions' action.

but the words 'cachedSubscriptionHashAllFetchPositions' are ambiguous. there 
should not has 'hash' function, i mean it should be replcaed by 
'cachedSubscriptionHasAllFetchPositions'. 

 

the code lists following

----------------------

// to keep from repeatedly scanning subscriptions in poll(), cache the result 
during metadata updates
private boolean cachedSubscriptionHashAllFetchPositions;

----------------------



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to