public void setAcknowledgeErrorCode(Errors acknowledgeErrorCode) {
        this.acknowledgeErrorCode = acknowledgeErrorCode;
    }
Set the acknowledgement error code when the response has been received from the broker.

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