Class IngestionThrottler

java.lang.Object
com.linkedin.davinci.kafka.consumer.IngestionThrottler
All Implemented Interfaces:
Closeable, AutoCloseable

public class IngestionThrottler extends Object implements Closeable
This throttler has the following functionality: 1. When running in DaVinci mode, if there are active current version bootstrapping with speedup mode is on, this ingestion throttler will switch to speedup throttler. 2. Otherwise, this class will switch to regular throttler. This throttler is supposed to be adaptive throttler to speed up the DaVinci bootstrapping and fall back to the regular mode when the bootstrapping is done.