public class PostProcessing extends Object implements Serializable
PostProcessing
implements analysis of alerts generated by other pipelines.Modifier and Type | Class and Description |
---|---|
static class |
PostProcessing.Parse
Parse incoming events and filter to only include events of type
Alert |
static interface |
PostProcessing.PostProcessingOptions
Runtime options for
PostProcessing pipeline. |
static class |
PostProcessing.WatchlistAnalyze
Check incoming alert events against a watchlist of various identifiers.
|
Modifier and Type | Field and Description |
---|---|
static String |
METRICS_NAMESPACE
Prefix for metrics namespace component
|
static String |
WATCHLIST_ALERT_PROCESSING_TIME_METRIC
Alert processing time for watchlist
|
Constructor and Description |
---|
PostProcessing() |
Modifier and Type | Method and Description |
---|---|
static String |
buildConfigurationTick(PostProcessing.PostProcessingOptions options)
Build a configuration tick for PostProcessing given pipeline options
|
static void |
main(String[] args)
Entry point for Beam pipeline.
|
static org.apache.beam.sdk.values.PCollection<Alert> |
processInput(org.apache.beam.sdk.values.PCollection<String> input,
PostProcessing.PostProcessingOptions options)
Process input collection
|
public static final String METRICS_NAMESPACE
public static final String WATCHLIST_ALERT_PROCESSING_TIME_METRIC
public static String buildConfigurationTick(PostProcessing.PostProcessingOptions options) throws IOException
options
- Pipeline optionsIOException
- IOExceptionpublic static org.apache.beam.sdk.values.PCollection<Alert> processInput(org.apache.beam.sdk.values.PCollection<String> input, PostProcessing.PostProcessingOptions options)
Process collection of input events, returning a collection of alerts as required.
input
- Input collectionoptions
- Pipeline optionsCopyright © 2022. All rights reserved.