public String getKeyByTaskId(String taskId) {
        return getKey() + taskId;
    }
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