public String getKey() {
        if (store.getUniqueKey().isEmpty()) {
            return CommonConstants.INSTANCE_ID_PREFIX + store.getSplitter();
        } else {
            return store.getUniqueKey() + store.getSplitter() + CommonConstants.INSTANCE_ID_PREFIX
                    + store.getSplitter();
        }
    }
delete instance

@param taskId task id from manager
@param instanceId it can be file name(file collect), table name(db sync) etc
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/store/InstanceStore.java