Class MainIngestionMonitorService

java.lang.Object
com.linkedin.venice.service.AbstractVeniceService
com.linkedin.davinci.ingestion.main.MainIngestionMonitorService
All Implemented Interfaces:
Closeable, AutoCloseable

public class MainIngestionMonitorService extends AbstractVeniceService
This class is the listener service in main process which handles various kinds of reports sent from isolated ingestion service. MainIngestionMonitorService itself is a Netty based server implementation, and the main report handling logics happens in MainIngestionReportHandler. Besides reports handling, it also maintains two executor services to send heartbeat check and collect metrics to/from child process. Also, it maintains status for all the ongoing/completed topic partition ingestion tasks, which helps IsolatedIngestionBackend to check which process a topic partition storage is located, as well as status recovery when child process crashed and restarted.