public static List<UserRecord> deaggregate(List<KinesisEventRecord> inputRecords){
  List<UserRecord> outputRecords=new LinkedList<>();
  for (  KinesisEventRecord inputRecord : inputRecords) {
    outputRecords.addAll(deaggregate(inputRecord));
  }
  return outputRecords;
}

public static List < UserRecord > deaggregate ( List < KinesisEventRecord > inputRecords ) { List < UserRecord > outputRecords = new LinkedList < > ( ) ; for ( KinesisEventRecord inputRecord : inputRecords ) { outputRecords . addAll ( deaggregate ( inputRecord ) ) ; } return outputRecords ; }
method to bulk deaggregate a set of kinesis user records from a list of kinesis event records .
