INPUT with different records

Hello everyone,

can I configure my Graph with two or more different records?

ie:
HEADER: 0023456789abcdefghij
REC_01: 0120051215someone someplace
REC_02: 02xyz.w.999.io ononono
FOOTER: 99098676bb6556.wee233.0

Thanks!

Hi !

It is, so far (as of Clover 1.1.7), not directly supported. You would need to create some benevolent record format first - say 1st field record_type as string, colon as delimiter and then second field as string - containing the actual data. This can be read/parsed by existing DelimitedDataParser.
Then in reformat component you can split it into two(or more) different records/ data flows based on value of the first field.
But this requires creating transformation function/class.

Future versions of Clover can have better support for this as we have it on our to-do list.

David