public void deleteInstance(String taskId, String instanceId) {
        store.remove(getKeyByTaskAndInstanceId(taskId, instanceId));
    }
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