Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-1336

Allow output processors to only have an @AfterGroup taking the list of record of the group in parameter

Apply templateInsert Lucidchart DiagramXMLWordPrintable

    • Icon: Work Item Work Item
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.1.8
    • None
    • None
    • All
    • GreenHopper Ranking:
      0|i1fslv:
    • 9223372036854775807
    • Small

      Goal is to make writing an output less error prone and more efficient. Here is the sketch

      @Processor(name = "BulkOutputDemo")
      public class BulkProcessor implements Serializable {
      
          @AfterGroup
          public void commit(final Collection<Record> records) {
              // save records
          }
      }
      

            rmannibucau Romain Manni-Bucau
            rmannibucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: