public void setSendIndex(int sendIndex) {
        this.sendIndex = sendIndex;
    }
set callback
@param callback the callback to set
inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/dispatch/DispatchProfile.java