Deploying a dataflow using Stateless NiFi
A custom developed NiFi dataflow can be deployed with the Stateless NiFi Source or Sink connectors using Streams Messaging Manager (SMM).
After building and downloading your dataflow, you can deploy it in Kafka Connect as a source or sink connector. This can be done using SMM. The following list of steps walk you through the process of deploying a Stateless NiFi Sink or Source connector and provide examples on how dataflows are configured using SMM.
These steps are for the SMM UI, however, the actions described here can also be completed using the SMM REST API. For more information, see Cloudera Streams Messaging Manager REST API Reference.
- A CDP cluster containing SMM and Kafka is available.
- You have access to the SMM UI.
- The flow definition of the dataflow that you want to deploy is available to you. For more information on how to design, build, and export a dataflow using the NiFi UI, see Developing a dataflow for Stateless NiFi .
- The properties of Kafka consumers and producers used internally by the connector
(Connect-managed clients) can be configured on a per-connector basis. The following steps
give an example of how this can be done. However, in order for consumer and producer
property overrides to take effect, you must ensure that the Connector Kafka
Client Configuration Override Policy Kafka service property is set to
All
in Cloudera Manager. By default this property is set toNone
, which means that no overrides are allowed.