elasticio / csv-component

CSV Reading and Writing component for elastic.io platform
Apache License 2.0
3 stars 7 forks source link

Write CSV Attachment from JSON array does not work when more than one message is processed per component lifecycle #77

Closed jhorbulyk closed 3 years ago

jhorbulyk commented 3 years ago

Steps to Reproduce

Create a flow of the following form. Note that executing samples for each step will function as expected.

Publish the flow and run the flow

Expected Result

Two emails arrive with the following contents

hello,i,j
world,0,0
world,0,1
world,0,2
world,0,3
world,0,4

and

hello,i,j
world,1,0
world,2,1
world,3,2
world,4,3
world,5,4

Actual Result

Two blank emails arrive