public void storeTask(TaskProfile task) {
        if (task.allRequiredKeyExist()) {
            String keyName = getKeyByTaskId(task.getTaskId());
            KeyValueEntity entity = new KeyValueEntity(keyName,
                    task.toJsonStr(), "");
            store.put(entity);
        }
    }
store task profile.

@param task task
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/store/TaskStore.java