<?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: Merge multiple json with the same id in Nifi? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Merge-multiple-json-with-the-same-id-in-Nifi/m-p/291763#M215696</link>
    <description>&lt;P&gt;What you are trying to achieve is can be done using NiFi Lookup Processor. Please explore more on that.&lt;/P&gt;</description>
    <pubDate>Sat, 14 Mar 2020 16:38:55 GMT</pubDate>
    <dc:creator>Vj1989</dc:creator>
    <dc:date>2020-03-14T16:38:55Z</dc:date>
    <item>
      <title>Merge multiple json with the same id in Nifi?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Merge-multiple-json-with-the-same-id-in-Nifi/m-p/291762#M215695</link>
      <description>&lt;P&gt;I have this flowchart in nifi, where json files (ConsumerKafka) are consumed and then pass them in mongodb&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;the first Json file is:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;{"_id": "Eems_20200312", "Name": "Eems", "Date": "2020-03-12 23:14:02", "Volatility ": "5,328", "Value risk": "12,395"}&lt;BR /&gt;{"_id": " Esprinet_20200312", "Name": " Esprinet ", "Date": "2020-03-12 23:14:02", "Volatility ": "5,654", "Value risk": "12,765"}&lt;BR /&gt;{"_id": " Eurotech_20200312", "Name": " Eurotech ", "Date": "2020-03-12 23:14:02", "Volatility ": "5,534", "Value risk": "12,832"}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the second Json file is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{"_id": "Eems_20200312", "Name": "Eems", "Last": "0,066", "%": "-9,04", "Hour": "17:26", "Min": "0,061", "Max": "0,069", "Open": "0,068", "Date": "2020-03-12 23:14:02"}&lt;BR /&gt;{"_id": "Esprinet_20200312", "Name": "Esprinet", "Last": "3,495", "%": "-14,86", "Hour": "17:35", "Min": "3,47", "Max": "3,89", "Open": "3,89", "Date": "2020-03-12 23:14:02"}&lt;BR /&gt;{"_id": "Eurotech_20200312", "Name": "Eurotech", "Last": "5,05", "%": "-12,17", "Hour": "17:36", "Min": "5,05", "Max": "5,56", "Open": "5,50", "Date": "2020-03-12 23:14:02"}&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The result I would like in Mongodb is this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{"_id": "Eems_20200312", "Name": "Eems", "Last": "0,066", "%": "-9,04", "Hour": "17:26", "Min": "0,061", "Max": "0,069", "Open": "0,068", "Date": "2020-03-12 23:14:02", “Volatility”: “5,328” , “Value Risk”: “12,395”}&lt;BR /&gt;{"_id": "Esprinet_20200312", "Name": "Esprinet", "Last": "3,495", "%": "-14,86", "Hour": "17:35", "Min": "3,47", "Max": "3,89", "Open": "3,89", "Date": "2020-03-12 23:14:02", "Volatility ": "5,654", "Value risk": "12,765"}&lt;BR /&gt;{"_id": "Eurotech_20200312", "Name": "Eurotech", "Last": "5,05", "%": "-12,17", "Hour": "17:36", "Min": "5,05", "Max": "5,56", "Open": "5,50", "Date": "2020-03-12 23:14:02"", "Volatility ": "5,534", "Value risk": "12,832"}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I do it using Nifi?&lt;/P&gt;
&lt;P&gt;I would like to merge all the content when the primary key is the same and would like to know if the flow chart is correct or if i need to add something else.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Mar 2020 17:00:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Merge-multiple-json-with-the-same-id-in-Nifi/m-p/291762#M215695</guid>
      <dc:creator>NifiMongoDB</dc:creator>
      <dc:date>2020-03-14T17:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Merge multiple json with the same id in Nifi?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Merge-multiple-json-with-the-same-id-in-Nifi/m-p/291763#M215696</link>
      <description>&lt;P&gt;What you are trying to achieve is can be done using NiFi Lookup Processor. Please explore more on that.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Mar 2020 16:38:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Merge-multiple-json-with-the-same-id-in-Nifi/m-p/291763#M215696</guid>
      <dc:creator>Vj1989</dc:creator>
      <dc:date>2020-03-14T16:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Merge multiple json with the same id in Nifi?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Merge-multiple-json-with-the-same-id-in-Nifi/m-p/291766#M215698</link>
      <description>&lt;P&gt;Refer to this thread for similar question:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/merge-too-csv-files-in-nifi/m-p/229259#M191116" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/merge-too-csv-files-in-nifi/m-p/229259#M191116&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Mar 2020 17:51:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Merge-multiple-json-with-the-same-id-in-Nifi/m-p/291766#M215698</guid>
      <dc:creator>Vj1989</dc:creator>
      <dc:date>2020-03-14T17:51:33Z</dc:date>
    </item>
  </channel>
</rss>

