Created on 11-07-2017 06:51 PM - edited 08-18-2019 12:31 AM
We have 4 listenudp processor feeding to mergecontent proocessor. I have 2 mergecontent in series.and then puthdfs.
The mergecontent processor is adding sometime 2 new lines. any suggestions please, We need no new lines just the end of line after each message
In order to debug this, I changed the property in to delimier strategy to text and demaractor nothing
the configs are shown in pictures attached
Created 11-07-2017 07:00 PM
Created 11-07-2017 07:30 PM
Please verify your source files for any new lines at the end. Best will be to open the queue and copy the content to a notepad, sometime using Nifi web reader is not ideal.
Alternatively you can use a ReplaceText processor to strip out any new lines.
Created 11-07-2017 07:43 PM
@Umair Khan Thanks a lot for the response, I appreciate it, unfortunately I cannot use RelaceText processor, and no he new line is not coming from source any suggestions Thanks
Created 11-07-2017 08:35 PM
This is beaucse I am batching the messages for better throughput, the Batch Messaging Delimiter is \n (by default) is there anyway I can get rid of this. and help or ideas without using replacetext processor