Re: save variables to template when creating a template
Thanks Matt, how should I transfer the variable registry, are these variables saved in a file somewhere? /Ben 2017-10-12 0:58 GMT+08:00 Matt Burgess: > Ben, > > The variables are separate from the template by design, this is so you > can provide a variable registry in dev/test and a different one for > production, for example. If you want to keep the variable you would > likely want to transfer the variable registry along with the template > to the other NiFi instance. > > Regards, > Matt > > On Tue, Oct 10, 2017 at 11:45 PM, 尹文才 wrote: > > Hi guys, I've been using the new variable registry feature in 1.4.0 and I > > like it very much. But when I define a variable in a processor group and > > try to create a template out out it, I noticed that the variable I > defined > > is not included in the template after I import the template to another > NIFI > > instance. Does anyone know if it's possible to keep the variable with the > > template? Thanks. > > > > /Ben >
Re: save variables to template when creating a template
Ben, The variables are separate from the template by design, this is so you can provide a variable registry in dev/test and a different one for production, for example. If you want to keep the variable you would likely want to transfer the variable registry along with the template to the other NiFi instance. Regards, Matt On Tue, Oct 10, 2017 at 11:45 PM, 尹文才wrote: > Hi guys, I've been using the new variable registry feature in 1.4.0 and I > like it very much. But when I define a variable in a processor group and > try to create a template out out it, I noticed that the variable I defined > is not included in the template after I import the template to another NIFI > instance. Does anyone know if it's possible to keep the variable with the > template? Thanks. > > /Ben
save variables to template when creating a template
Hi guys, I've been using the new variable registry feature in 1.4.0 and I like it very much. But when I define a variable in a processor group and try to create a template out out it, I noticed that the variable I defined is not included in the template after I import the template to another NIFI instance. Does anyone know if it's possible to keep the variable with the template? Thanks. /Ben