Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 793 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 793 Bytes

Flink4K

CI Master

This library provides an API for Kotlin users of Flink

The main pain point of using usual Java-based API of Flink is the constant need of passing TypeInformation

Scala API solves it with implicits, but you have to create them anyway

This library leverages reified type ability to preserve type information

So instead of

stream.map(TypeInformation.of(String::class.java)){ it.toString() }

You could just write

stream.mapK{ it.toString() } // TypeInformation will be passed implicitly!

Build

  • git clone https://github.com/Szer/Flink4k.git
  • ./gradlew build