https://github.com/chermenin/kio
Kotlin extensions for Apache Beam
https://github.com/chermenin/kio
apache apache-beam batch beam big-data cep dataflow dataflow-programming google-cloud-platform kotlin kotlin-extensions sql streaming
Last synced: 6 months ago
JSON representation
Kotlin extensions for Apache Beam
- Host: GitHub
- URL: https://github.com/chermenin/kio
- Owner: chermenin
- License: apache-2.0
- Created: 2020-07-20T07:25:08.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-19T18:06:43.000Z (11 months ago)
- Last Synced: 2025-03-28T19:37:46.191Z (7 months ago)
- Topics: apache, apache-beam, batch, beam, big-data, cep, dataflow, dataflow-programming, google-cloud-platform, kotlin, kotlin-extensions, sql, streaming
- Language: Kotlin
- Homepage: https://code.chermenin.ru/kio
- Size: 1.28 MB
- Stars: 12
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README

Icon made by [Flat Icons](https://www.flaticon.com/authors/flat-icons) from [www.flaticon.com](http://www.flaticon.com/)---
[](https://github.com/chermenin/kio/actions/workflows/maven.yml)
[](https://www.codefactor.io/repository/github/chermenin/kio)
[](https://codecov.io/gh/chermenin/kio)
[](https://search.maven.org/search?q=g:ru.chermenin.kio)
[](https://gitter.im/chermenin-kio/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)**Kio** is a set of Kotlin extensions for [Apache Beam](https://beam.apache.org) to implement fluent-like API for Java SDK.
## Quick Start
```kotlin
// Create Kio context
val kio = Kio.fromArguments(args)// Configure a pipeline
kio.read().text("~/input.txt")
.map { it.toLowerCase() }
.flatMap { it.split("\\W+".toRegex()) }
.filter { it.isNotEmpty() }
.countByValue()
.forEach { println(it) }// And execute it
kio.execute().waitUntilDone()
```## Documentation
For more information about Kio, please see the documentation in the `docs` directory or here: [https://code.chermenin.ru/kio](https://code.chermenin.ru/kio).
## License
Copyright © 2020 Alex Chermenin
Licensed under the Apache License, Version 2.0: [https://www.apache.org/licenses/LICENSE-2.0.txt](https://www.apache.org/licenses/LICENSE-2.0.txt)