An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

![Kio logo](docs/assets/images/logos/kio_small_logo.png)
Icon made by [Flat Icons](https://www.flaticon.com/authors/flat-icons) from [www.flaticon.com](http://www.flaticon.com/)

---

[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/chermenin/kio/maven.yml?branch=master)](https://github.com/chermenin/kio/actions/workflows/maven.yml)
[![CodeFactor](https://www.codefactor.io/repository/github/chermenin/kio/badge)](https://www.codefactor.io/repository/github/chermenin/kio)
[![codecov](https://codecov.io/gh/chermenin/kio/branch/master/graph/badge.svg)](https://codecov.io/gh/chermenin/kio)
[![Maven Central](https://img.shields.io/maven-central/v/ru.chermenin.kio/kio-core.svg)](https://search.maven.org/search?q=g:ru.chermenin.kio)
[![Gitter](https://badges.gitter.im/chermenin-kio/community.svg)](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)