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
- Host: GitHub
- URL: https://github.com/dalelane/flink-gaming-cheat-codes
- Owner: dalelane
- Created: 2024-09-13T12:09:55.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-13T12:48:11.000Z (over 1 year ago)
- Last Synced: 2025-01-23T22:16:39.305Z (12 months ago)
- Language: Java
- Homepage: https://dalelane.co.uk/blog/?p=5286
- Size: 7.12 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Supporting files for the "Flink can recognize when you’re cheating" blog post
## Demo
## Setup
The blog post describes a simplified view of the demo - the full version is actually more like:

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