@Override
    public int getMsgSenderCount() {
        if (baseMsgSenderFactory == null) {
            return SdkConsts.UNDEFINED_VALUE;
        }
        return this.baseMsgSenderFactory.getMsgSenderCount();
    }
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