lnbest0707-uber commented on PR #13695: URL: https://github.com/apache/pinot/pull/13695#issuecomment-2294008682
> To ensure the ingestion order, we might be able to use a producer-consumer pattern, where consumer thread creates `MessageBatch`s and put them into a queue; another ingestion thread pull `MessageBatch`s from the queue, transform the records and index them into segment. This way we can use 2 threads per partition. Thanks for the review. Right now, it is only using 1 thread to guarantee the order. For multiple threads, I am thinking about adapting the way mentioned in [Multi-topic ingestion support](https://docs.google.com/document/d/1Er2Tmtl5Pgwdapn5iOJ5qlCDU_2P67YMdpdsmL36MCk/edit#bookmark=id.d33d4d6flx8n) if it goes through the review. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
