[
https://issues.apache.org/jira/browse/KAFKA-13323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Gustafson resolved KAFKA-13323.
-------------------------------------
Fix Version/s: 3.2.0
Resolution: Fixed
> 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: 2.0.0, 3.0.0
> Reporter: 李壮壮
> Assignee: Vijay
> Priority: Trivial
> Fix For: 3.2.0
>
>
> In 'Fetcher' 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.20.1#820001)