Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

NiFi Reuse of UUID during template migration?

avatar
Master Guru

Is there any way to reuse NiFi PG or processor UUID while migrating a template from one environment to another?

1 ACCEPTED SOLUTION

avatar
Master Mentor
@Sunile Manjee

UUIDs are created when a template is add to the canvas. This allows users to instantiate the same template multiple times within a single NiFi. It also insures not conflict of UUID with other existing components already instantiated. There is no way for users to set the UUIDs of any component manually.

The only way to maintain UUIDs between NiFi instances is to move the entire flow.xml.gz file from one NIFi to the next rather then using templates.

Thanks,

Matt

View solution in original post

1 REPLY 1

avatar
Master Mentor
@Sunile Manjee

UUIDs are created when a template is add to the canvas. This allows users to instantiate the same template multiple times within a single NiFi. It also insures not conflict of UUID with other existing components already instantiated. There is no way for users to set the UUIDs of any component manually.

The only way to maintain UUIDs between NiFi instances is to move the entire flow.xml.gz file from one NIFi to the next rather then using templates.

Thanks,

Matt