public static ByteBuf getAuditReplyBuffer(AuditReply auditReply) {
        BaseCommand cmdAuditReply = BaseCommand.newBuilder()
                .setType(Type.AUDIT_REPLY)
                .setAuditReply(auditReply).build();
        return getChannelBuffer(cmdAuditReply.toByteArray());
    }
Audit commands, used to get various of ByteBuf.
inlong-audit/audit-common/src/main/java/org/apache/inlong/audit/protocol/Commands.java