public Errors getAcknowledgeErrorCode() {
        return acknowledgeErrorCode;
    }
Get the acknowledgement error code when the response has been received from the broker.

@return the error code
clients/src/main/java/org/apache/kafka/clients/consumer/internals/Acknowledgements.java