Cloudera Data Flow
Cloudera Data Flow is a fully managed, auto-scaling service built on Apache NiFi that enables you to visually design, deploy, and monitor enterprise-grade data pipelines.
Key features and benefits
AI Agents
The Cloudera Data Flow agents enable users to find, design, test, publish, deploy and operate data flows through natural language. It is available through Maui, Anywhere Cloud’s AI experience. The agent can search the catalog and ReadyFlow Gallery, create and edit drafts, manage test sessions, prepare deployments, monitor running flows, diagnose failures, and perform deployment operations. It works on one Cloudera Data Flow instance and uses your assigned roles.
The Cloudera Data Flow agents do not replace every user interface or administrative function. They cannot set secrets or deployment parameter values, change existing deployment configurations or shared parameter groups, manage key performance indicators (KPIs), transfer resources between Cloudera Data Flow instances, or create instances, environments, or clusters. Most changes require your approval, and deployments and bulk operations present a plan before they run. For more information, see AI capabilities.
To access Cloudera Data Flow AI Agents, you must deploy Maui in the same workspace. For more information on Maui, your AI coworker, see Using Maui.
Flow and resource isolation
Cloudera Data Flow allows you to easily isolate data flows from each other and guarantee a set of resources to each data flow without requiring administrators to create additional NiFi clusters. For each flow deployment, Cloudera Data Flow creates a dedicated, optionally auto-scaling NiFi cluster on the shared Kubernetes resources in a service. This way flow deployments can scale independently from each other, allowing you to isolate flow deployments and assign resources to deployments as needed.
Flow isolation can be useful when you want to guarantee a set of resources for a specific data flow or when you want to isolate failure domains.
Auto-scaling flow deployments
Cloudera Data Flow offers two types of auto-scaling capabilities for Apache NiFi data flows. Flow deployments may automatically scale up and down based on CPU utilization within the boundaries that are set in the deployment wizard. In this case Cloudera Data Flow scales flow deployments by adding or removing NiFi pods on the Kubernetes cluster as needed, as well as scaling the Kubernetes cluster up or down within boundaries specified during Cloudera Data Flow enablement.
On top of scaling based on CPU utilization, you may also enable Flow Metrics Scaling in the deployment wizard. This feature adds or removes NiFi pods to the Kubernetes cluster based on anticipated traffic on connection(s) where data first enters the flow. Scaling happens automatically, driven by a prediction algorithm, that uses a backpressure prediction metric to forecast how full a queue will be within a predefined period of time. The metric targets only connections which are attached to source processors. You do not need to configure anything during flow deployment. When Flow Metrics Scaling is enabled, both this metric and CPU utilization are considered. Whichever metric calls for higher scale will be obeyed.
Fault tolerant flow deployments
Flow deployments use persistent volumes to store NiFi repositories in a durable way. In case of an instance or pod failure, Cloudera Data Flow automatically spins up new pods and re-attaches the persistent volumes to ensure data processing continues from where it was interrupted.
Quick flow deployment with predefined ReadyFlows
You can quickly deploy a predefined set of data flows with minimal configuration called ReadyFlows. ReadyFlows provide you with an easy way to implement the most common data flow use cases.
Central monitoring dashboard and KPIs
You can monitor your flow deployments on a single dashboard. You can track important flow performance metrics by defining KPI alerts for your flow deployments.
Universal connectivity
You can connect to any data source or target using NiFi’s rich processor library, including on-premise data sources, cloud data storage, cloud data warehouses, log data sources, cloud data analytics services, or cloud business process services.
Flow designer
A no-code, self-service visual editor that allows you to build and test data flows.
Parameter groups
You can create groups of parameters and share them between data flows. Parameter groups allow you to centrally manage, share and reuse common parameters that your data flows depend on. When developing new data flows, developers and administrators alike can re-use these common parameters for a simplified development and deployment experience.
Deploying and managing Apache NiFi
- Deploy NiFi easily and fast.
- Manage multiple NiFi deployments.
- Run multiple clusters with different NiFi 2 versions.
- Run NiFi in a single-node mode or as a distributed cluster.
NiFi clusters without ZooKeeper
- Enable NiFi deployment without ZooKeeper by handling leader election and state management directly within Kubernetes.
- Store NiFi cluster state within Kubernetes configuration maps.
Scaling NiFi clusters up and down
- Manually scale up/down your NiFi deployments by adjusting the number of NiFi nodes in the configuration file.
- Utilize Kubernetes Horizontal Pod Autoscaler (HPA) to monitor Central Processing Unit (CPU) utilization and trigger autoscaling based on resource consumption.
Data durability
- In-flight data remains uninterrupted even if a NiFi node goes down. Kubernetes will provision a new node and transfer the volumes from the failed node to the new one, ensuring continuous data processing.
AI capabilities
The Cloudera Data Flow agents support the flow lifecycle from initial design through deployment and operation. Each stage remains separate: a design does not become a draft, a draft is not published, and a published flow is not deployed until you choose to continue. This separation gives you an opportunity to review the result before it becomes more widely available or starts running.
The features described in this document use artificial intelligence (AI). Your use of any such AI features or capabilities is governed by the Cloudera AI Policy. The output generated by an AI system can be inaccurate or incomplete, even when it appears correct, and it must be reviewed by a human for accuracy and appropriateness for the intended use. If an AI feature or capability requires you to specify a model (including a large language model), you are solely responsible for evaluating, selecting, and implementing that model. Cloudera does not train any models on any of your inputs or associated outputs.
Flow design, drafts, and test sessions
The agent designs a flow from your description of the source, destination, data format and any processing you need. When something essential is missing, such as the source, the destination, the format, or the values that point an endpoint at a real place (an S3 bucket and its region, a Kafka topic and its brokers), it asks for it one question at a time, one endpoint after the other. It never asks for file or directory paths. Those become parameters you set later. If you want to skip the questions, say “build it with placeholders”.
Flow designs use NiFi components available in Cloudera Data Flow. The agent examines their properties and relationships, configures the processors, connections, and controller services, and validates the result. If the instance does not contain a suitable processor, the agent reports the limitation instead of silently substituting an incompatible processor. At this stage, the validated design is stored for up to 24 hours (up to 20 designs per user by default, unless the server restarts), and nothing has been created in Cloudera Data Flow.
When you are ready to work with the design in Flow Designer, the agent can create a new draft and place the design on it, create an empty draft, or open a Catalog flow or ReadyFlow as an editable draft. Each of these actions requires your approval. On the draft, the agent can inspect and validate the flow, explain processor errors, add or configure processors, create connections, auto-terminate an individual relationship or all unconnected relationships (dropping FlowFiles on that path), set non-sensitive parameters, and enable controller services. Only the following draft actions require approval: replacing a processor, or deleting a processor, a connection, or a process group. All other draft edits take effect without a prompt.
The agent has limitations with sensitive parameters and services. Secret properties become empty sensitive parameters that you fill in directly in Flow Designer. On an existing draft, the agent can enable a controller service, but it cannot change the service settings.
A test session allows you to work with live data to validate your flow. Before starting the session, the agent presents the node size and NiFi version for review. When asked about a running session, the agent reports a snapshot of its status, alerts and event history, error bulletins with the processor each came from, processors that are not running (invalid ones first), and back-pressured connections. It can also suspend or terminate the session. There is no separate resume action. To resume a suspended session, ask the agent to start it again. Starting, suspending, and terminating a test session each require your approval.
Flow definitions and catalog management
The agent searches the Catalog by name, description, tags and version comments; and the ReadyFlow Gallery by name, summary, source, destination, categories and data formats. Search results are based on Catalog metadata. The agent does not infer what a flow does from its name alone, and it asks you to choose when several flows match a request. The agent can open a flow definition as a draft for further exploration of what the flow does.
After you review a draft, the agent can publish it as a new flow definition or as a new version of its existing flow definition. A draft opened from a ReadyFlow is published as a new flow definition. Publishing masks secret values, so the published version can later receive its deployment values from shared parameter groups. The agent imports a ReadyFlow into the Catalog, when deploying it.
Catalog cleanup observes the dependencies around a flow definition. Before deleting one, the agent checks whether deployments use it or drafts were created from it. If deployments use it, the agent identifies them and stops rather than deleting them automatically. If dependent drafts exist, the agent deletes them one by one after confirming each, and then deletes the flow definition. Deleting a flow definition removes all its versions, requires the appropriate administrator role, and requires your approval. The agent cannot delete a single version.
Flow deployment
The agent does not deploy a flow immediately after a request. It first resolves the requested Catalog flow or ReadyFlow and selects the version you named, the most recent version carrying a requested tag, or the latest version when you specified neither. If the requested version or tag is not available, the agent reports the available versions instead of guessing.
Before deployment, the agent presents a deployment plan containing the selected flow version, parameter assignments, and deployment configuration. You can review settings such as the deployment name, cluster size, NiFi version, scaling, storage, and auto-start behavior. Nothing is deployed until the required parameters are resolved and you approve the plan.
Every parameter must be assigned to a shared parameter group. The agent can find compatible groups, ask you to choose between multiple matches, or create a group for parameters that have no match. You enter parameter values and secrets in the Cloudera Data Flow user interface. The agent does not accept parameter values in the chat, and it cannot change an existing shared parameter group.
After approval, the agent can create a deployment or add a flow to an existing running deployment. It reports the submission and periodically checks on its progress for about two minutes. It then provides a snapshot of the last state and instructs the user to check back later. The agent cannot change the configuration or flow version of an existing deployment. Running another version of a flow, via the agent, requires removing and redeploying the flow.
Deployment and flow management
The agent can report the status of deployments and the flows running within them. It can also search for failed or unhealthy deployments and deployed flows.
When a deployment or flow fails, the agent can examine its alerts and event history. It reads NiFi logs when those sources indicate that logs are needed, quotes only the entries that support the diagnosis, and redacts secrets. The diagnosis identifies the likely cause and indicates whether the agent can perform the next action or whether you need to change a setting in the Cloudera Data Flow user interface.
Operational actions are available at both the flow and deployment levels. The agent can start or stop one deployed flow, start or stop all flows in a deployment, and remove a flow. It can suspend, resume, restart, or terminate a deployment. These actions require approval because they affect running resources.
For an action that affects several deployments, the agent first presents an action plan containing the exact deployments that match the request and the deployments that were excluded because their state does not allow the requested action. You can revise the list before approving it. Termination is irreversible because it destroys the deployment cluster.
The agent can diagnose an existing key performance indicator alert, but it cannot list, add, change, or delete key performance indicators and their alerts. It also cannot display live bulletins from a deployment.
Scope and safeguards
The agent can work across multiple Cloudera Data Flow instances. If you want it to switch between instances to perform an action during a conversation, you must explicitly instruct it to do so. In such cases it cannot create Cloudera Data Flow instances, environments, or the infrastructure underneath, and it cannot copy or move flows, drafts, or deployments between instances. Requests outside Cloudera Data Flow return to Maui for routing.
Every operation uses your identity and assigned roles. The agent cannot grant roles or work around a rejected operation. Searches, status checks, watches, and diagnoses are read-only and do not require approval. Most operations that change Cloudera Data Flow require approval. Deployments, test sessions, and bulk deployment operations also present a plan before they run.
Cloudera Data Flow AI Agents - Known Limitations
- Deployment search is only supported by exact name matches and substring matches. Search by intent and semantic search is not yet supported.
- When searching for a “flow” the default behavior is that the agent searches NiFI Flow Definitions, which could exist in the Catalog or ReadyFlow Gallery. To find drafts, you must explicitly tell the agent to find a “draft” - the word draft has to be in the prompt.
- Very ambiguous or open ended requests to the agent can result in the agent providing a best effort response, or to ask you for more information.
- Catalog searches only see the first page (10 items). ReadyFlow Gallery searches are not affected.
- Agents do not proactively monitor operations. They can check for status and provide an update when prompted.
- Connecting to Cloudera Base services (for example, Iceberg via HMS) or Anywhere Cloud services (for example, Iceberg via Harmony, Cloudera Streams Messaging) via the Agent is taken as a best-effort, given the manual work required to enable these use cases.
- Draft names cannot be changed after creation neither by the agent nor on the UI.
- Each request has a step limit. A request that asks for many actions at once, such as a long list of changes to a draft, may stop part way with a message that the agent reached its step limit. Continue in a follow-up message, or ask for fewer actions at a time.
- Do not paste passwords, tokens or keys into the chat. The agent does not set them anywhere, but nothing masks them: they stay in the conversation history. Only e-mail addresses, phone numbers and social security numbers are masked. Enter secrets in the Cloudera Data Flow user interface.
NiFi
The core data ingestion engine that has a no-code graphical user interface and supports processors for connectivity, transformation, and content routing.
Component and feature support
Apache NiFi shipped in Cloudera Data Flow is based on an open source project and might contain additional changes or fixes.
Additionally, not all NiFi features are supported. For additional information see the Release Notes as well as the Support Matrix.
Key concepts
Learn about the key concepts and terms used in Cloudera Data Flow.
Catalog
The Catalog is where your flow definitions are stored and where you manage the Cloudera Data Flow flow definition lifecycle from import through versioning to deletion. The Catalog is also the place from where you can initiate new deployments.
Deployment
A deployment represents a NiFi cluster running on Kubernetes and executing one or more flows.
Deployments
The Deployments view is the central monitoring component within Cloudera Data Flow showing all flows and deployments at a glance. For each deployment, you can view deployment details, such as the list of flows in the deployments, system metrics, deployment KPIs if any were set, and deployment level alerts. You can also select individual flows in a deployment to view similar details for each.
Deployment and flow manager
The Manage Deployment view allows you to review and modify flow parameters, settings for size and scaling, and KPI and alert definitions. It also allows you to initiate NiFi version upgrades, access the NiFi canvas of your flow deployments as well as terminate them. In addition, you are able to take bulk actions against all the flows in a given deployment, such as start all flows in that deployment, or stop them.
Flow
A flow, described by a flow definition in Cloudera Data Flow’s Catalog, is the pipeline that your data follows from start to finish. It consists of a set of NiFi components connected together to tell Cloudera Data Flow where to collect data, how to modify it, and where to deliver it.
Flow definition
A flow definition represents the data flow logic developed in Cloudera Data Flow’s Flow Designer and published to the Catalog; or developed in Apache NiFi and imported to Cloudera Data Flow using the Import Flow Definition action in the Catalog. Flow definitions typically leverage parameterization to make the flows portable between for example development and production NiFi environments.
Flow draft
A draft is a flow definition in development. You can edit, update, and continuously test drafts by starting a Test Session. When your draft is ready to be deployed in production, you can publish it as a flow definition to the Cloudera Data Flow Catalog.
KPI
Apache NiFi has multiple metrics to monitor the different statistics of the system such as memory usage, CPU usage, data flow statistics, and so on. Key Performance Indicators (KPIs) are representations of those metrics for a NiFi component in Cloudera Data Flow. They provide a critical monitoring tool for a real-time view into your data flow performance.
ReadyFlow
A ReadyFlow is a predefined, out-of-the-box flow definition which can be immediately deployed by providing a small set of required parameters.
ReadyFlow Gallery
The ReadyFlow Gallery is where you find all available ReadyFlows. To use a ReadyFlow, you need to add it from the ReadyFlow Gallery to the Catalog and then use it to create a flow deployment, or open it in Flow Designer.
Shared parameter group
A shared parameter group is a set of shared parameters that can be reused within a Cloudera Data Flow instance. Using shared parameter groups facilitates flow development and flow deployment.
Getting started
To get started, deploy Cloudera Data Flow. Following installation, you can start designing flows or creating flow deployments.
Related information
You can learn more about Apache NiFi by visiting the following upstream resources:
