Hello All,
I am reading data from a messaging queue (as text message) and the data pipeline is working fine if i store every message in a separate text file.
The next step is to Merge all the messages in to a single file (txt) and i placed MergeContent Processor before the PutFile. It endsup with the error: Error: file with the same name already exists.
The Data pipeline is as :
1)
ConsumeMQTT (Reads Source) -- UpdateAttribute (SetsFileName and txt type) -- MergeContent (MergeFile) -- PutFile (Writes File)
2)
ConsumeMQTT (Reads Source) -- MergeContent (MergeFile) -- PutFile (Writes File)
Note:
If i setup the "Conflict Resolution Strategy" in the PutFile to "replace", this flow is working as only the latest value gets stored in the file. I cannot append data in the same file using the data flow as above.