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

https://github.com/dalelane/flink-gaming-cheat-codes

Supporting files and samples for the "Flink can recognize when you’re cheating" blog post
https://github.com/dalelane/flink-gaming-cheat-codes

Last synced: 10 months ago
JSON representation

Supporting files and samples for the "Flink can recognize when you’re cheating" blog post

Awesome Lists containing this project

README

          

# Supporting files for the "Flink can recognize when you’re cheating" blog post

## Demo

screen recording of the demo

## Setup

The blog post describes a simplified view of the demo - the full version is actually more like:

![architecture diagram](./diagrams/diagram-full.png)

The use of MQTT was a convenience because we already had a way of getting the virtual controllers to publish/subscribe to MQTT brokers. Rather than add Kafka support to that, it was simpler to just bridge the gap using Kafka Connect.

## Contents:

- [Virtual controller used in the demo](./virtual-controller.sb3)
- requires a custom version of Scratch with MQTT support to load this file
- [konami-source](./mqttsource.yaml)
- Kafka Connect source connector with a custom Single Message Transform to turn MQTT string messages into JSON
- [Kafka topics](./topics.yaml)
- Event Streams topic definition
- [Flink SQL job](./cheatcodes.sql)
- [konami-sink](./mqttsink.yaml)
- Kafka Connect sink connector