Skip to main content

Flink

The Flink job reads bad rows from an S3 location and stores the recovered payloads in Kinesis, unrecovered and unrecoverable in other S3 buckets.

Building

To build the fat jar, run:

sbt flink/assembly

Running

Using flink CLI:

flink run \
snowplow-event-recovery-flink-0.2.0.jar \
--input s3://bad-rows-location/** \
--output recovered-kinesis-topic \
--failedOutput s3://unrecovered-collector-payloads-location/ \
--unrecoverableOutput s3://unrecoverable-collector-payloads-location/ \
--config $JOB_CONFIG \
--resolver $RESOLVER_CONFIG
Was this page helpful?