@Override
    public void shutdownAll() {
        if (!this.initialized.compareAndSet(true, false)) {
            return;
        }
        this.baseMsgSenderFactory.close();
    }
Multiple Instances Message Sender Factory

Used to define the Multiple instance sender factory
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/MsgSenderMultiFactory.java