{"id":22214037,"url":"https://github.com/xmlking/beam-examples","last_synced_at":"2026-04-28T22:34:48.676Z","repository":{"id":142313619,"uuid":"223214713","full_name":"xmlking/beam-examples","owner":"xmlking","description":"Apache Beam / Google Dataflow  Examples","archived":false,"fork":false,"pushed_at":"2020-03-09T04:25:01.000Z","size":198,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T06:28:16.848Z","etag":null,"topics":["apache-beam","beam","dataflow","gcd","gradle","kotlin","monorepo"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xmlking.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-21T16:16:41.000Z","updated_at":"2020-03-09T04:25:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"0b2f6a06-35ae-4e33-b77b-66a881d3d519","html_url":"https://github.com/xmlking/beam-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xmlking/beam-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fbeam-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fbeam-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fbeam-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fbeam-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xmlking","download_url":"https://codeload.github.com/xmlking/beam-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fbeam-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32402670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache-beam","beam","dataflow","gcd","gradle","kotlin","monorepo"],"created_at":"2024-12-02T21:13:01.473Z","updated_at":"2026-04-28T22:34:48.671Z","avatar_url":"https://github.com/xmlking.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# beam-examples\n\nA set of example **Streaming** and **Batch** jobs implementation with **Apache Beam**\n\n`Dataflow brings life to Datalakes` \n\n![“DataLake with Cloud Dataflow](./docs/dataflow.png)  \n\n### Features\n1. Monorepo(apps, libs) project to showcase workspace setup with multiple apps and shared libraries\n2. **Polyglot** - Support multiple languages (java, kotlin)\n4. Support making `FatJar` for submitting  jobs form CI Environment \n7. Cloud Native (Run Local, Run on Cloud, Deploy as Template for GCD)\n8. Multiple Runtime (Flink, Spark, Google Cloud Dataflow, Hazelcast Jet ) \n\n### Prerequisites\n\u003e see [PLAYBOOK](./docs/PLAYBOOK.md)\n\n### Quick Start\n\nRun WordCount kotlin example:\n\n\n    gradle :apps:wordcount:run --args=\"--runner=DirectRunner --inputFile=./src/test/resources/data/input.txt --output=./build/output.txt\"\n\n\nWordCount pipeline will run on local and produce the output file in `apps/wordcount/build` directory.\n\nWordCount pipeline can run on Google Cloud Dataflow if you have a project setup in your local. \n\n    PROJECT_ID=\u003cmy-project-id\u003e\n    GCS_BUCKET=\u003cmy-project-gcs-bucket\u003e\n    export GOOGLE_APPLICATION_CREDENTIALS=\u003cfull-path-to-your-json\u003e\n    \n    gradle :apps:wordcount:run --args=\"--runner=DataflowRunner --project=$PROJECT_ID --gcpTempLocation=gs://$GCS_BUCKET/dataflow/wordcount/temp/ --stagingLocation=gs://$GCS_BUCKET/dataflow/wordcount/staging/ --inputFile=gs://$GCS_BUCKET/dataflow/wordcount/input/shakespeare.txt --output=gs://$GCS_BUCKET/dataflow/wordcount/output/output.txt\"\n\nThe `inputFile` option is defined by default in WordCount options, so that it will run with the input file and produce output files in \u003cgs://your-cloud-storage-bucket\u003e\n\n\n\n### Reference \n\n1. [Apache Beam Programming Guide](https://beam.apache.org/documentation/programming-guide/)\n1. https://github.com/xmlking/micro-apps\n2. https://github.com/sfeir-open-source/kbeam\n3. https://github.com/thinhha/gcp-data-project-template\n4. https://google.github.io/flogger/best_practice\n5. https://github.com/apache/beam/tree/master/examples/kotlin","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmlking%2Fbeam-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxmlking%2Fbeam-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmlking%2Fbeam-examples/lists"}