0

Learn Kafka and Event Streams with fun

Hey you!

This is a start point for me to explore some ideas to learn Kafka and Event Streams in a fun way. My plan is to create a way to teach people Kafka concepts combining with some kind of hardware or game. Something like from scrap, for dummies, for kids, or from zero to one.

Is it possible to learn Kafka and Event Streams with fun?

Stream processing is the act of continuously incorporating new data to compute a result. Streaming is a data distribution technique where data producers write data records into an ordered data stream from which data consumers can read that data in the same order. Here is a simple data streaming diagram illustrating a data producer, a data stream, and a data consumer.

And if you look only at the Data Stream part you will see something like a Led Strip

The question is can I use a led Strip to teach Event Stream nicely and funnily?

I came with two ideas

  • Led Race game – blog
  • Anki Overdrive – blog

Led Race game

Led Race is a Raspberry PI Led Strip game. Minimalist cars race with a Led strip and two switches where the speed of the car is proportional to the pulsations of the control button. In this scenario, I can explore how to generate data and build a scoreboard and game statistics using Kafka.

I can explore the same ideas from my weather station blog and It is possible to combine them with IOT, connected vehicles, Kafka at the Edge, and several others ideas.

Anki Overdrive

Anki Overdrive is an intelligent battle racing system that lets you explore the power of artificial intelligence (AI). It is a game where you drive the car using a smartphone or a tablet and you can race with friends.
The Anki provides an API where you can get information in real-time from the game.
Again I can explore how to generate data and build a scoreboard and game statistics using Kafka.

I can explore the same ideas from my weather station blog and It is possible to combine them with IOT, connected vehicles, Kafka at the Edge, and several others ideas.

And as you can see both ideas are similar in the sense that I can add and explore several scenarios around Data Stream.

Each producer could be a sensor, an IOT device, or a machine and I can use a Raspberry PI to show that. On the Kafka Cluster each broker, leader, and follower could be a Raspberry PI as well, and of Course the consumer as well.

This means that a bunch of Raspberry Pis and a Led Strip is a basic start point.
The best part is that now with Raspberry PI 4 8g it is possible to install Kafka and show the concept of Kafka at the edge.

Ideas outside

Of course, there are some ideas outside that somehow could fit in this purpose.

Kafka Visualization

Building Event Streaming Applications with Pac-Man

What apache Kafka has in common with Rocky Balboa

Learning Apache Kafka Theory 101 with My Little Ponies

Understanding Kafka with Factorio

If you know or have any similar ideas, please let me know in the comments.

Just did an idea intro presentation video.

Leave a Reply

Your email address will not be published. Required fields are marked *