public void setAttr(String key, String value) throws ProxyEventException {
        if (StringUtils.isBlank(key)) {
            throw new ProxyEventException("Parameter key is blank!");
        }
        if (value == null) {
            throw new ProxyEventException("Parameter value is null!");
        }
        innSetAttr(key.trim(), value.trim());
    }
TCP Event Information class

Used to encapsulate the data information reported by TCP
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/sender/tcp/TcpEventInfo.java