DEV Community

loading...

Automating the Building, Migration, Backup, Restore and Testing of Streaming Applications

tspannhw profile image Timothy Spann Originally published at datainmotion.dev on ・1 min read

Automating the Building, Migration, Backup, Restore and Testing of Streaming Applications

One of the main things you will want to add to your flows as you restore them from backup or migrate them between clusters is apply appropriate parameters.

So you can import the parameter contexts and then connect them to the correct process group(s).

nifi-toolkit-1.12.0/bin/cli.sh nifi import-param-context -u http://edge2ai-1.dim.local:8080 -i parameter.json

Note, values can be encrypted so the NiFi Operator or Developer doesn't have to see keys or protected values.

See an example script:

https://github.com/tspannhw/ApacheConAtHome2020/blob/main/scripts/setupnifi.sh

Resources

Discussion (0)

pic
Editor guide