<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Does NiFi have a means of updateable variables/configs accessible to Expression Language? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Does-NiFi-have-a-means-of-updateable-variables-configs/m-p/115770#M42851</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/157/rgelhausen.html" nodeid="157"&gt;@Randy Gelhausen&lt;/A&gt; There are a few ways to do this.&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;Use the distributed map cache to get runtime attribute lookups and re-populate it as needed with new configs.&lt;/LI&gt;&lt;LI&gt;Use a scripted processor to lookup your config values and merge the attributes on to the FlowFile.&lt;/LI&gt;&lt;LI&gt;I have some work in progress extending a lookup table service by &lt;A rel="user" href="https://community.cloudera.com/users/173/agrande.html" nodeid="173"&gt;@Andrew Grande&lt;/A&gt; that can do lookups against a properties file that is reloaded periodically. It includes a LookupAttribute processor that can merge in either specific properties or all the properties from a properties file. See: &lt;A href="https://github.com/jfrazee/nifi-lookup-service/tree/file-based-lookup-service" target="_blank"&gt;https://github.com/jfrazee/nifi-lookup-service/tree/file-based-lookup-service&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Thu, 06 Oct 2016 03:23:11 GMT</pubDate>
    <dc:creator>jfrazee</dc:creator>
    <dc:date>2016-10-06T03:23:11Z</dc:date>
    <item>
      <title>Does NiFi have a means of updateable variables/configs accessible to Expression Language?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Does-NiFi-have-a-means-of-updateable-variables-configs/m-p/115769#M42850</link>
      <description>&lt;P&gt;I've seen the &lt;A href="http://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#custom_properties"&gt;nifi.variable.registry.properties config&lt;/A&gt;, but those seem to by loaded statically and only at NiFi start.&lt;/P&gt;&lt;P&gt;I have a use case where connection strings and other environment settings need to be read periodically from a DataBase and used to control, for example, the hostname and directory for GetSFTP. How can I achieve this?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 03:11:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Does-NiFi-have-a-means-of-updateable-variables-configs/m-p/115769#M42850</guid>
      <dc:creator>rgelhausen</dc:creator>
      <dc:date>2016-10-06T03:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Does NiFi have a means of updateable variables/configs accessible to Expression Language?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Does-NiFi-have-a-means-of-updateable-variables-configs/m-p/115770#M42851</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/157/rgelhausen.html" nodeid="157"&gt;@Randy Gelhausen&lt;/A&gt; There are a few ways to do this.&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;Use the distributed map cache to get runtime attribute lookups and re-populate it as needed with new configs.&lt;/LI&gt;&lt;LI&gt;Use a scripted processor to lookup your config values and merge the attributes on to the FlowFile.&lt;/LI&gt;&lt;LI&gt;I have some work in progress extending a lookup table service by &lt;A rel="user" href="https://community.cloudera.com/users/173/agrande.html" nodeid="173"&gt;@Andrew Grande&lt;/A&gt; that can do lookups against a properties file that is reloaded periodically. It includes a LookupAttribute processor that can merge in either specific properties or all the properties from a properties file. See: &lt;A href="https://github.com/jfrazee/nifi-lookup-service/tree/file-based-lookup-service" target="_blank"&gt;https://github.com/jfrazee/nifi-lookup-service/tree/file-based-lookup-service&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 06 Oct 2016 03:23:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Does-NiFi-have-a-means-of-updateable-variables-configs/m-p/115770#M42851</guid>
      <dc:creator>jfrazee</dc:creator>
      <dc:date>2016-10-06T03:23:11Z</dc:date>
    </item>
  </channel>
</rss>

