public Map<Long, AcknowledgeType> getAcknowledgementsTypeMap() {
        return acknowledgements;
    }
Returns the Map of Acknowledgements for the offsets.
clients/src/main/java/org/apache/kafka/clients/consumer/internals/Acknowledgements.java