public static AcknowledgeType forId(byte id) {
        switch (id) {
            case 1:
                return ACCEPT;
            case 2:
                return RELEASE;
            case 3:
                return REJECT;
            default:
                throw new IllegalArgumentException("Unknown acknowledge type id: " + id);
        }
    }
The record was not consumed successfully. Reject it and do not release it for another delivery attempt.
clients/src/main/java/org/apache/kafka/clients/consumer/AcknowledgeType.java