-
Notifications
You must be signed in to change notification settings - Fork 10
zaratsian/Apache_NiFi
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This Apache NiFi tempalate show how to execute a python script with the NiFi flow. More importantly, it shows how to capture the input and output flowFile metadata. This has been tested within NiFi 1.0.0.
Here's the NiFi flow:
1.) Read data.json file
2.) Use the ExecuteScript processor to parse json and perform arbitrary python processing.
3.) Write attributes to json
4.) From here, the results can be saved to a simple .json file, to HDFS, sent to Kafka, Solr, etc.
NiFi REST API
Reference:
NiFi Expression Language
ExecuteScript Cookbook - Part 1
ExecuteScript Cookbook - Part 2
ExecuteScript Cookbook - Part 3
About
Code, projects, and references for Apache NiFi
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published