public OffsetFetchResponseData.OffsetFetchResponseGroup fetchAllOffsets(
        OffsetFetchRequestData.OffsetFetchRequestGroup request,
        long epoch
    ) throws ApiException {
        return offsetMetadataManager.fetchAllOffsets(request, epoch);
    }
Fetch all offsets for a given group.

@param request   The OffsetFetchRequestGroup request.
@param epoch     The epoch (or offset) used to read from the
                 timeline data structure.

@return A List of OffsetFetchResponseTopics response.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupCoordinatorShard.java