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 Diagram
    XMLWordPrintable

Details

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

    Description

      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
          }
      }
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: