Skip to content

Day 5 / Apr 25 (Mon)

Welcome to Week 9

Coming up are 2 days (Mon and Tue) to develop a solid foundation of Kafka Streams with Scala.

Wed and Thu are conference days.

On Fri, half a day for Kafka Connect and another half for Akka Streams. Just a tiny bit as they are considered information-only.

Morning Exercises

Algorithmic Thinking

  1. [2020-10-21] Challenge #386 [Intermediate] Partition counts

Object-Oriented Programming

Define a Room class that should do the following:

  1. A room has a name and capacity
    • capacity = the maximum number of people that can enter a room
  2. A person can enter a room (only when there is still free space)
  3. A person can leave a room
  4. A room can report the number of people inside (who entered)

Write tests and publish to Github.

Theory

  1. Read Introducing Kafka Streams: Stream Processing Made Simple
  2. Read Writing A Streams Application
  3. Read Kafka Streams DSL for Scala

Demo

  1. Tutorial: Write A Kafka Streams Application

Practice

  1. Sample Usage
  2. Run Kafka Streams Demo Application

Resources

  1. The official documentation of Kafka Streams
Back to top