<?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: CDC Postgresql Nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/CDC-Postgresql-Nifi/m-p/349865#M235799</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/99707"&gt;@Nifi-&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You'll need to provide more detail around your use case in order to get more specific assistance.&lt;BR /&gt;&lt;BR /&gt;NiFi offers a number of processor components that can be used to ingest from a database:&lt;BR /&gt;- &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.17.0/org.apache.nifi.processors.standard.ExecuteSQL/index.html" target="_self"&gt;ExecuteSQL&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;- &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.17.0/org.apache.nifi.processors.standard.ExecuteSQLRecord/index.html" target="_self"&gt;ExecuteSQLRecord&lt;/A&gt;&lt;BR /&gt;-&amp;nbsp;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-cdc-mysql-nar/1.17.0/org.apache.nifi.cdc.mysql.processors.CaptureChangeMySQL/index.html" target="_self"&gt;CaptureChangeMySQL&lt;/A&gt;&amp;nbsp; &amp;lt;-- probably what you are looking for&lt;BR /&gt;&lt;BR /&gt;These ExecuteSQL processors will utilize a &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-dbcp-service-nar/1.17.0/org.apache.nifi.dbcp.DBCPConnectionPool/index.html" target="_self"&gt;DBCPConnectionPool&lt;/A&gt; controller service for connecting to your specific Database of choice. SQL is what is needs to passed to these processors in order to fetch database table entries.&lt;BR /&gt;&lt;BR /&gt;The following processors are often used to generate the SQL in different ways needed by your use case to do this in an incremental fashion (for example: generating new SQL for new entries only so you are not fetching entire table over and over)&lt;BR /&gt;- &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.17.0/org.apache.nifi.processors.standard.GenerateTableFetch/index.html" target="_self"&gt;GenerateTableFetch&lt;/A&gt;&lt;BR /&gt;- &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.17.0/org.apache.nifi.processors.standard.QueryDatabaseTable/index.html" target="_self"&gt;QueryDatabaseTable&lt;/A&gt;&lt;BR /&gt;- &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.17.0/org.apache.nifi.processors.standard.ListDatabaseTables/index.html" target="_self"&gt;ListDatabaseTable&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The CaptureChangeMySQL processor will output FlowFiles for each individual event.&amp;nbsp; You can then construct a dataflow to write these events to your choice of location.&amp;nbsp; That might be some other database.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Once you have your dataflow created for ingesting entries from your table in to NiFi, you'll need to use other processors within your dataflow for any routing or manipulation of that ingested data you may want to do before sending to a processor to write to the desired destination.&amp;nbsp; Possibly using &amp;nbsp;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.17.0/org.apache.nifi.processors.standard.PutDatabaseRecord/index.html" target="_self"&gt;PutDatabaseRecord&lt;/A&gt; processor for example?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you found this response assisted with your query, please take a moment to login and click on "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" below this post.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2022 18:14:21 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2022-08-10T18:14:21Z</dc:date>
    <item>
      <title>CDC Postgresql Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDC-Postgresql-Nifi/m-p/349760#M235762</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to Apache Nifi, can you please help me to implement CDC for Postgresql one table to log table in Nifi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Nifi - 1.16.x version.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 11:24:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDC-Postgresql-Nifi/m-p/349760#M235762</guid>
      <dc:creator>Nifi-</dc:creator>
      <dc:date>2022-08-09T11:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: CDC Postgresql Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDC-Postgresql-Nifi/m-p/349865#M235799</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/99707"&gt;@Nifi-&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You'll need to provide more detail around your use case in order to get more specific assistance.&lt;BR /&gt;&lt;BR /&gt;NiFi offers a number of processor components that can be used to ingest from a database:&lt;BR /&gt;- &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.17.0/org.apache.nifi.processors.standard.ExecuteSQL/index.html" target="_self"&gt;ExecuteSQL&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;- &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.17.0/org.apache.nifi.processors.standard.ExecuteSQLRecord/index.html" target="_self"&gt;ExecuteSQLRecord&lt;/A&gt;&lt;BR /&gt;-&amp;nbsp;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-cdc-mysql-nar/1.17.0/org.apache.nifi.cdc.mysql.processors.CaptureChangeMySQL/index.html" target="_self"&gt;CaptureChangeMySQL&lt;/A&gt;&amp;nbsp; &amp;lt;-- probably what you are looking for&lt;BR /&gt;&lt;BR /&gt;These ExecuteSQL processors will utilize a &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-dbcp-service-nar/1.17.0/org.apache.nifi.dbcp.DBCPConnectionPool/index.html" target="_self"&gt;DBCPConnectionPool&lt;/A&gt; controller service for connecting to your specific Database of choice. SQL is what is needs to passed to these processors in order to fetch database table entries.&lt;BR /&gt;&lt;BR /&gt;The following processors are often used to generate the SQL in different ways needed by your use case to do this in an incremental fashion (for example: generating new SQL for new entries only so you are not fetching entire table over and over)&lt;BR /&gt;- &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.17.0/org.apache.nifi.processors.standard.GenerateTableFetch/index.html" target="_self"&gt;GenerateTableFetch&lt;/A&gt;&lt;BR /&gt;- &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.17.0/org.apache.nifi.processors.standard.QueryDatabaseTable/index.html" target="_self"&gt;QueryDatabaseTable&lt;/A&gt;&lt;BR /&gt;- &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.17.0/org.apache.nifi.processors.standard.ListDatabaseTables/index.html" target="_self"&gt;ListDatabaseTable&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The CaptureChangeMySQL processor will output FlowFiles for each individual event.&amp;nbsp; You can then construct a dataflow to write these events to your choice of location.&amp;nbsp; That might be some other database.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Once you have your dataflow created for ingesting entries from your table in to NiFi, you'll need to use other processors within your dataflow for any routing or manipulation of that ingested data you may want to do before sending to a processor to write to the desired destination.&amp;nbsp; Possibly using &amp;nbsp;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.17.0/org.apache.nifi.processors.standard.PutDatabaseRecord/index.html" target="_self"&gt;PutDatabaseRecord&lt;/A&gt; processor for example?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you found this response assisted with your query, please take a moment to login and click on "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" below this post.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 18:14:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDC-Postgresql-Nifi/m-p/349865#M235799</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2022-08-10T18:14:21Z</dc:date>
    </item>
  </channel>
</rss>

