I'm developing a Custom Component (a processor) that has as input a Record:
Record is really simple it has two fields:
KEY: type String
VALUE: taype Arraylist<String>
To test this component I set a simple tJavaFlex component that generate 1 row the is connected to my custom component
bellow an extract of the code of the tJavaFlex
row.KEY="key";
ArrayList<String> data = new ArrayList<>();
data.add("1");
data.add("2");
row.VALUE=data;
Alas, when I run the job, my component recevices a Record that contains the KEY only, the VALUE field seems to disapper.
The first action in my @ElementListener method is printing (on sysout) the record and its schema and I can't see VALUE nor in record neither in schema.