public void fetch(Map<TopicIdPartition, Acknowledgements> acknowledgementsMap) {
        if (!fetchMoreRecords) {
            log.debug("Fetch more data");
            fetchMoreRecords = true;
        }
        acknowledgementsMap.forEach((tip, acks) -> fetchAcknowledgementsMap.merge(tip, acks, Acknowledgements::merge));
    }
{@code ShareConsumeRequestManager} is responsible for generating {@link ShareFetchRequest} and
{@link ShareAcknowledgeRequest} to fetch and acknowledge records being delivered for a consumer
in a share group.
clients/src/main/java/org/apache/kafka/clients/consumer/internals/ShareConsumeRequestManager.java