private void clearPendingAssignmentsAndLocalNamesCache() {
        currentTargetAssignment.clear();
        assignedTopicNamesCache.clear();
    }
Discard assignments received that have not been reconciled yet (waiting for metadata
or the next reconciliation loop). Remove all elements from the topic names cache.
clients/src/main/java/org/apache/kafka/clients/consumer/internals/ShareMembershipManager.java