<?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 Can use a select output as DBCPConnectionPool controller input? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-use-a-select-output-as-DBCPConnectionPool-controller/m-p/235415#M84717</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;does anyone know if exist any way to use a select dbname output as input ( DBCPConnectionPool name ),&lt;/P&gt;&lt;P&gt;I have 30 queries to execute on more than 100 db's and i like to avoid create 100 processors groups.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Tue, 06 Nov 2018 04:42:42 GMT</pubDate>
    <dc:creator>gonzalosalvia</dc:creator>
    <dc:date>2018-11-06T04:42:42Z</dc:date>
    <item>
      <title>Can use a select output as DBCPConnectionPool controller input?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-use-a-select-output-as-DBCPConnectionPool-controller/m-p/235415#M84717</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;does anyone know if exist any way to use a select dbname output as input ( DBCPConnectionPool name ),&lt;/P&gt;&lt;P&gt;I have 30 queries to execute on more than 100 db's and i like to avoid create 100 processors groups.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2018 04:42:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-use-a-select-output-as-DBCPConnectionPool-controller/m-p/235415#M84717</guid>
      <dc:creator>gonzalosalvia</dc:creator>
      <dc:date>2018-11-06T04:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can use a select output as DBCPConnectionPool controller input?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-use-a-select-output-as-DBCPConnectionPool-controller/m-p/235416#M84718</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/52152/gonzalosalvia.html" nodeid="52152"&gt;@Gonzalo Salvia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you are using &lt;STRONG&gt;NiFi-1.7&lt;/STRONG&gt; then you can dynamically select DBCP connection pools.&lt;/P&gt;&lt;P&gt;Refer to &lt;A href="https://issues.apache.org/jira/browse/NIFI-5229"&gt;NiFi-5229&lt;/A&gt; Jira addressing this improvement.&lt;/P&gt;&lt;P&gt;If you are following this way you need to configure/enable connection pool before using them and then using one &lt;STRONG&gt;ExecuteSQL&lt;/STRONG&gt; processor we are going to select the connection pools &lt;A href="https://stackoverflow.com/questions/50961167/using-dynamic-property-in-connection-pooling-service-for-executesql-processor"&gt;dynamically&lt;/A&gt; based on the attribute.&lt;/P&gt;&lt;P&gt;If you are using previous versions of &lt;STRONG&gt;NiFi-1.7&lt;/STRONG&gt; then we need to &lt;STRONG&gt;specify schema name for each query &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(or) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We need to use those&lt;STRONG&gt; many process groups &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(or) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;Keep an attribute to identify which execute sql processor it should go&lt;STRONG&gt; &lt;/STRONG&gt;then use &lt;STRONG&gt;RouteOnAttribute&lt;/STRONG&gt; processor to route the flowfiles to the respected execute sql processor.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2018 12:04:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-use-a-select-output-as-DBCPConnectionPool-controller/m-p/235416#M84718</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-11-06T12:04:44Z</dc:date>
    </item>
  </channel>
</rss>

