neeraj_sharma
4 years agoNew Contributor II
Kafka consumer Skip messages when fail
Hi ,
We pull the data from Kafka and put it and the database, but we realized the Kafka consumer skips the data/offsets if the pipeline fails.
for example: in a run Kafka consumer is supposed to ...
- 3 years ago
Hi @manohar.
In the example you have listed, If i understand correctly don’t we also need to include the filename: Coupa_Supplier_SB_Tax_Cert_PO_4501888888? Because it exists in the docname array?
If yes, then you can use the following expressions:
$docname.filter((x,ind,arr) => $filename.indexOf(x) != -1) $docid.filter((x,ind) => $filename.indexOf($docname[ind]) != -1) $docext.filter((x,ind) => $filename.indexOf($docname[ind]) != -1)
Let me know if this helps.
BR,
Aleksandar.