Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidcavazos/beam-scala
https://github.com/davidcavazos/beam-scala
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/davidcavazos/beam-scala
- Owner: davidcavazos
- License: mit
- Created: 2021-04-29T17:41:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-04-29T17:46:29.000Z (over 3 years ago)
- Last Synced: 2024-10-30T00:49:08.539Z (2 months ago)
- Language: Scala
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Apache Beam starter for Scala
## Before you begin
We are using [`sbt`](https://www.scala-sbt.org) to build and run this application.
It's easiest to install with [`sdkman`](https://sdkman.io).You can easily install any Scala version with `sdkman` as well.
```sh
# Make sure you have sdkman installed.
curl -s "https://get.sdkman.io" | bash# Make sure you have Scala installed.
sdk install scala# Make sure you have sbt installed.
sdk install sbt
```## Running the pipeline
You can run the project by simply running:
```sh
sbt run
```You can also pass command line arguments to your pipeline.
Note that you need quotes for the run command, otherwise they are interpreted as another `sbt` command.```sh
sbt "run
--project=my-project-id
--inputText=MyCustomText
"
```To speed up subsequent builds, you can also run `sbt` in an
[interactive shell](https://www.scala-sbt.org/1.x/docs/sbt-by-example.html),
that way it only loads once.