ijokarumawak commented on issue #3375: NIFI-5979 : enhanced ReplaceText 
processor with "Number of Occurrences" and "Occurrence offset" configurations
URL: https://github.com/apache/nifi/pull/3375#issuecomment-477024624
 
 
   Hi @pushpavanthar thanks for elaborating your use-cases!
   
   1. If one wants to replace except header and footer, adding evaluation mode 
would be more easy to configure and can support unfixed number of rows. How 
about adding Evaluation Mode such as `The First Line`, `The Last Line` and 
`Except The First and Last Line`?
   2. I feel the second use case may be handled better with UpdateRecord 
processor. Because it requires schema awareness. With UpdateRecord, you can 
replace specific element value. Please take a look on the additional details 
doc for the processor.
   
https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.9.1/org.apache.nifi.processors.standard.UpdateRecord/additionalDetails.html
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to