Configure the processor for your data source
Learn how to configure a data source processor for the Kafka ingest data flow.
You can set up a data flow to move data into Apache Kafka from many different locations. This example assumes that you are using sample data generated by the GenerateFlowFile processor. If you are moving data from a certain location, see the Apache NiFi Getting Started for information on how to build a data flow, and about other data ingest processor options.
The following settings and properties are used in this example:
Scheduling | Description | Example value for ingest data flow |
---|---|---|
Run Schedule |
Run schedule dictates how often the processor should be scheduled to run. The valid values for this field depend on the selected Scheduling Strategy. |
500 ms |
Description | Example value for ingest data flow | |
---|---|---|
Custom text |
If Data Format is text and if Unique FlowFiles is false, you can provide custom to be used as the content of the generated FlowFiles. The expression statement in the example value generates a random ID between 1 and 10 000, with random last names assigned. |
|