public Acknowledgements merge(Acknowledgements other) {
        acknowledgements.putAll(other.acknowledgements);
        return this;
    }
Merges two sets of acknowledgements. If there are overlapping acknowledgements, the
merged set wins.

@param other The set of acknowledgement to merge.
clients/src/main/java/org/apache/kafka/clients/consumer/internals/Acknowledgements.java