I have a document list as input. each document contains two keys making them unique (say key1, key2). Now I have a publishable document list, and I have to map all input documents with same key1 (there would be more than one of them but the number wouldnt be fixed) to this publishable document and send it to the broker. What is the best way to do this .
Appreciate your help,