public abstract class WikimediaKafkaSource<S,D> extends KafkaSource<S,D>
ALL_TOPICS, AVG_RECORD_MILLIS, BOOTSTRAP_WITH_OFFSET, DEFAULT_BOOTSTRAP_WITH_OFFSET, DEFAULT_GOBBLIN_KAFKA_CONSUMER_CLIENT_FACTORY_CLASS, DEFAULT_GOBBLIN_KAFKA_SHOULD_ENABLE_DATASET_STATESTORE, DEFAULT_MAX_POSSIBLE_OBSERVED_LATENCY_IN_HOURS, DEFAULT_NAMESPACE_NAME, DEFAULT_OBSERVED_LATENCY_MEASUREMENT_ENABLED, DEFAULT_OBSERVED_LATENCY_PRECISION, DEFAULT_RESET_ON_OFFSET_OUT_OF_RANGE, DEFAULT_TABLE_TYPE, EARLIEST_OFFSET, GOBBLIN_KAFKA_CONSUMER_CLIENT_FACTORY_CLASS, GOBBLIN_KAFKA_EXTRACT_ALLOW_TABLE_TYPE_NAMESPACE_CUSTOMIZATION, GOBBLIN_KAFKA_SHOULD_ENABLE_DATASET_STATESTORE, KAFKA_OFFSET_LOOKBACK, kafkaConsumerClient, kafkaConsumerClientPool, LATEST_OFFSET, LEADER_HOSTANDPORT, LEADER_ID, lineageInfo, MAX_POSSIBLE_OBSERVED_LATENCY_IN_HOURS, NEAREST_OFFSET, NUM_TOPIC_PARTITIONS, OBSERVED_LATENCY_MEASUREMENT_ENABLED, OBSERVED_LATENCY_PRECISION, OFFSET_FETCH_EPOCH_TIME, OFFSET_FETCH_TIMER, OFFSET_LOOKBACK, PARTITION_ID, PREVIOUS_HIGH_WATERMARK, PREVIOUS_LATEST_OFFSET, PREVIOUS_LOW_WATERMARK, PREVIOUS_OFFSET_FETCH_EPOCH_TIME, PREVIOUS_START_FETCH_EPOCH_TIME, PREVIOUS_STOP_FETCH_EPOCH_TIME, RECORD_CREATION_TIMESTAMP_FIELD, RECORD_CREATION_TIMESTAMP_UNIT, RECORD_LEVEL_SLA_MINUTES_KEY, RESET_ON_OFFSET_OUT_OF_RANGE, START_FETCH_EPOCH_TIME, STOP_FETCH_EPOCH_TIME, TOPIC_BLACKLIST, TOPIC_NAME, TOPIC_WHITELIST, TOPICS_MOVE_TO_LATEST_OFFSET
Constructor and Description |
---|
WikimediaKafkaSource() |
Modifier and Type | Method and Description |
---|---|
protected List<org.apache.gobblin.source.extractor.extract.kafka.KafkaTopic> |
getFilteredTopics(org.apache.gobblin.configuration.SourceState state)
Finds Kafka topics to ingest.
|
protected Map<String,String> |
settingsListToMap(Collection<String> settingsFilters) |
getWorkunits, isTopicQualified, populateClientPool, shutdown
createExtract, getPreviousWorkUnitsForRetry, getPreviousWorkUnitStatesForRetry, isEarlyStopped
protected List<org.apache.gobblin.source.extractor.extract.kafka.KafkaTopic> getFilteredTopics(org.apache.gobblin.configuration.SourceState state)
getFilteredTopics
in class KafkaSource<S,D>
state
- Work unit stateprotected Map<String,String> settingsListToMap(Collection<String> settingsFilters)
Copyright © 2021. All rights reserved.