swaminathanmanish opened a new pull request, #12529:
URL: https://github.com/apache/pinot/pull/12529

   **Whats in the PR:**
   Allow custom records to be inited/closed i.e managed within 
SegmentProcessorFramework
   **Why its needed:**
   We have custom readers (eg: where record needs to be enriched based on file 
path) that are passed to the SegmentProcessorFramework. We want the ability to 
init & close these readers after use, within the framework to manage the 
lifecycle of the reader. Otherwise we would be holding up memory for these 
readers through out segment creation, which can result in unnecessary use of 
memory. Also these readers are used one at a time, so they can be inited/closed 
when needed.
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to