<?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>topic Process all rows in custom component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Process-all-rows-in-custom-component/m-p/2248495#M149010</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;It seems the components process one row at a time.&lt;/P&gt; 
&lt;P&gt;I&amp;nbsp;have a need to micro batch it in some cases and in some cases ensure that I am looking at the whole of data set.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How do I enforce&amp;nbsp;batch size and/or enforce all rows to be processed in one pass.&lt;/P&gt; 
&lt;P&gt;e.g will be I have 2 millions rows to push to a webservice, I would rather do 10-50 K rows in one call, rather than making 2 Million unique web calls&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;In this case I need to be able to provide a batch size&lt;/P&gt; 
&lt;P&gt;or I need to calculate some aggregate value (for simplicity sake) In this case I need to know all rows before I can do the math&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jan 2026 14:45:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2026-01-02T14:45:42Z</dc:date>
    <item>
      <title>Process all rows in custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Process-all-rows-in-custom-component/m-p/2248495#M149010</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;It seems the components process one row at a time.&lt;/P&gt; 
&lt;P&gt;I&amp;nbsp;have a need to micro batch it in some cases and in some cases ensure that I am looking at the whole of data set.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How do I enforce&amp;nbsp;batch size and/or enforce all rows to be processed in one pass.&lt;/P&gt; 
&lt;P&gt;e.g will be I have 2 millions rows to push to a webservice, I would rather do 10-50 K rows in one call, rather than making 2 Million unique web calls&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;In this case I need to be able to provide a batch size&lt;/P&gt; 
&lt;P&gt;or I need to calculate some aggregate value (for simplicity sake) In this case I need to know all rows before I can do the math&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 14:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Process-all-rows-in-custom-component/m-p/2248495#M149010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-02T14:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Process all rows in custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Process-all-rows-in-custom-component/m-p/2248496#M149011</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOW1AAO"&gt;@bhu&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This&amp;nbsp;&lt;A href="https://talend.github.io/component-runtime/main/1.0.1/documentation.html#_processor" target="_blank" rel="nofollow noopener noreferrer"&gt;page&lt;/A&gt;&amp;nbsp;gives some pointers about that kind of implementation.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hi level, the studio will define "groups" of a particualr size (assumed "big" from the component developper point of view). To implement chunking/bulking you need to define in your configuration a "maxSize" option and define the following callback (method in your processor):&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;OL&gt; 
 &lt;LI&gt;BeforeGroup: reset a record buffer (list)&lt;/LI&gt; 
 &lt;LI&gt;ElementListener: test if the buffer size is &amp;gt;= maxSize and if so flush, if not bufferize current record&lt;/LI&gt; 
 &lt;LI&gt;AfterGroup: if the&amp;nbsp;buffer is not empty then flush&lt;/LI&gt; 
&lt;/OL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This works for output kind of components but for transform components (understand a component with an output like&amp;nbsp;the use case you mentionned) you would need a patched version of the studio since we&amp;nbsp;added&amp;nbsp;it after last available release.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Which version of the studio do you rely on?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 16:37:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Process-all-rows-in-custom-component/m-p/2248496#M149011</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-29T16:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Process all rows in custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Process-all-rows-in-custom-component/m-p/2248497#M149012</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;We have&amp;nbsp;prepared a patch that include the bulk processing feature to the latest Talend Open Studio 7.1.1M1 milestone release.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will find a readme file with instructions to install the attached patch.&lt;BR /&gt;Download the latest milestone release:&amp;nbsp;&lt;A title="Talend Open Studio 7.1.1M1" href="https://sourceforge.net/projects/talend-studio/files/Talend%20Open%20Studio/7.1.1M1/" target="_blank" rel="nofollow noopener noreferrer"&gt;Talend Open Studio 7.1.1M1&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtBZ"&gt;Bulk-Processing_Patch_TUP-20309.zip&lt;/A&gt;</description>
      <pubDate>Tue, 03 Jul 2018 08:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Process-all-rows-in-custom-component/m-p/2248497#M149012</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-03T08:26:22Z</dc:date>
    </item>
  </channel>
</rss>

