Giter Site home page Giter Site logo

tspannhw / recipes Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 34.0 57 KB

The Immerok Apache Flink Cookbook is a collection of examples of Apache Flink applications in the format of "recipes". Each recipe explains how you can solve a specific problem by leveraging one or more of the APIs of Apache Flink. The recipes can be extended or provide a basis for solving your requirements with Apache Flink.

Home Page: https://docs.immerok.cloud/

License: Apache License 2.0

Java 97.71% Kotlin 2.29%

recipes's Introduction

Recipes

Each recipe is a self-contained module.

Recipe overview

  1. Deserializing JSON from Kafka -> Detailed explanation
  2. Continuously Reading CSV Files -> Detailed explanation
  3. Exactly-once with Apache Kafka® -> Detailed explanation
  4. Writing an Application in Kotlin™ -> Detailed explanation
  5. Joining and Deduplicating Data -> Detailed explanation
  6. Splitting Apache Kafka® events -> Detailed explanation
  7. Capturing Late Data -> Detailed explanation
  8. Creating Dead Letter Queues -> Detailed explanation
  9. Using Session Windows -> Detailed explanation
  10. Serializing Timestamped Data -> Detailed explanation

Requirements

  • Maven
  • Java 11

IDE setup

Spotless

These instructions assume you use IntelliJ IDEA.

  • Install the latest version of the google-java-format plugin
    • Note: For the time being the custom version used in Flink development is also fine.
  • Enable the google-java-format as explained here
  • Settings/Preferences -> Editor -> Code style
    • Tick "Enabled Editorconfig support"
    • Scala/Kotlin -> Imports -> Clear the import layout at the bottom
      • This is only relevant for the Scala/Kotlin recipes; you can likely skip this and just call spotless from the command-line
  • Settings/Preferences -> Tools -> Actions on Save
    • Enable "Reformat code" and select Java/Scala/Kotlin file types
    • Enable "Optimize imports"

Note: You can also run mvn spotless:apply on the command-line / IDE to reformat the code.

recipes's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.