Class IngestionBatchProcessor


  • public class IngestionBatchProcessor
    extends java.lang.Object
    This class is used to process the AA/WC messages in parallel to address the long-tail partition lagging issues. For the AA/WC message handling, the consumption is not the bottleneck, but the processing overhead, and even with a single consumer, with IngestionBatchProcessor, we hope we can utilize the full node's resources to speed up the leader ingestion.
    • Constructor Detail

      • IngestionBatchProcessor

        public IngestionBatchProcessor​(java.lang.String storeVersionName,
                                       java.util.concurrent.ExecutorService batchProcessingThreadPool,
                                       KeyLevelLocksManager lockManager,
                                       com.linkedin.davinci.kafka.consumer.IngestionBatchProcessor.ProcessingFunction processingFunction,
                                       boolean isWriteComputationEnabled,
                                       boolean isActiveActiveReplicationEnabled,
                                       AggVersionedIngestionStats aggVersionedIngestionStats,
                                       HostLevelIngestionStats hostLevelIngestionStats)