@Override
    public boolean allRequiredKeyExist() {
        return hasKey(TaskConstants.TASK_ID)
                && hasKey(TaskConstants.TASK_SINK) && hasKey(TaskConstants.TASK_CHANNEL)
                && hasKey(TaskConstants.TASK_GROUP_ID) && hasKey(TaskConstants.TASK_STREAM_ID);
    }
check whether required keys exists.

@return return true if all required keys exists else false.
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/conf/TaskProfile.java