public static Acknowledgements empty() {
        return new Acknowledgements(new TreeMap<>());
    }
This class maintains the acknowledgement and gap information for a set of records on a single
topic-partition being delivered to a consumer in a share group.
clients/src/main/java/org/apache/kafka/clients/consumer/internals/Acknowledgements.java