Skip to content

RajeshHegde/apache-beam-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apache-beam-example

Install

pip install -r requirements.txt

Usage

Run locally using DirectRunner

python main.py \
--input data/<path-to-apache-log-file>.log \
--output filtered-data.txt

Run on dataflow

python main.py \
--input gs://<path-to-apache-log-file>.log \
--output gs://<output-file-path>/filtered-data.txt \
--runner DataflowRunner \
--project <gcp-project-id>\
--temp_location gs://<google-cloud-storage-bucket>/temp \
--setup_file setup.py

For detailed instruction, read this article - https://medium.com/@rajeshhegde/data-pipeline-using-apache-beam-python-sdk-on-dataflow-6bb8550bf366

About

Apache Beam example project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages