@Override
    ShareFetchResponse updateAndGenerateResponseData(String groupId, Uuid memberId,
                                                     LinkedHashMap<TopicIdPartition, ShareFetchResponseData.PartitionData> updates) {
        log.debug("Final context returning {}", partitionsToLogString(updates.keySet()));
        return new ShareFetchResponse(ShareFetchResponse.toMessage(Errors.NONE, 0,
                updates.entrySet().iterator(), Collections.emptyList()));
    }
The share fetch context for a final share fetch request.
core/src/main/java/kafka/server/share/FinalContext.java