In NiFi, I have a flow file with an attribute RSID
. I need to generate a UUID v5 based on RSID
and add it as an attribute to the flow file. This uuid needs to be based on RSID
because some reports will have the same RSID
and need to thus have the same UUID5.
I've seen some methods in Groovy that will generate a random uuid, but not v5 nor based on a string. Is this possible to do in Groovy/NiFi? If so, how would this be done? I'm very new to Groovy.