public class KafkaAvroJobStatusMonitor extends KafkaJobStatusMonitor
GobblinTrackingEvent schema to parse the messages and calls
parseJobStatus(GobblinTrackingEvent) for each received message.GET_AND_SET_JOB_STATUS, STATE_STORE_KEY_SEPARATION_CHARACTER, STATE_STORE_TABLE_SUFFIXconfig, CONSUMER_CLIENT_FACTORY_CLASS_KEY, DEFAULT_AUTO_COMMIT_VALUE, DEFAULT_OFFSET_COMMIT_NUM_RECORDS_THRESHOLD, DEFAULT_OFFSET_COMMIT_TIME_THRESHOLD_SECS, ENABLE_AUTO_COMMIT_KEY, GROUP_ID_KEY, OFFSET_COMMIT_NUM_RECORDS_THRESHOLD_KEY, OFFSET_COMMIT_TIME_THRESHOLD_SECS_KEY, topic| Constructor and Description |
|---|
KafkaAvroJobStatusMonitor(String topic,
com.typesafe.config.Config config,
int numThreads) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createMetrics() |
State |
parseJobStatus(byte[] message) |
getExecutionIdFromTableName, jobStatusStoreName, jobStatusTableName, jobStatusTableName, processMessage, shutDown, startUpbuildMetricsContextAndMetrics, commitOffsets, createConsumerClient, getGobblinKafkaConsumerClient, getMetricContext, getTagsForMetrics, getTopic, shutdownMetricspublic KafkaAvroJobStatusMonitor(String topic, com.typesafe.config.Config config, int numThreads) throws IOException, ReflectiveOperationException
protected void createMetrics()
createMetrics in class KafkaJobStatusMonitorpublic State parseJobStatus(byte[] message) throws IOException
parseJobStatus in class KafkaJobStatusMonitorIOException