Skip to content

Stream-Processing-with-Kafka-Streams/workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stream-processing-workshop

Get Started

  1. Use java 8
  2. Get the following command so you can get a kafka / zookeeper running locally via docker.
  3. Use maven build to generate some java classes:
  > mvn clean compile

If you don't have Docker

You can get kafka and run it locally

Go to the kafka quickstart:

  1. Download the latest
  2. Start Zookeeper (Kafka provides you with a single node zookeeper instance)
  > bin/zookeeper-server-start.sh config/zookeeper.properties
  1. start Kafka
  > bin/kafka-server-start.sh config/server.properties

That will get your kafka running on the default port: localhost:9092 and zookeeper on: localhost:2181 These are also the ports used by default by Spring Cloud Stream

Labs

Lab 1: send events to Kafka

Send Events to Kafka

Lab 2: consume events from Kafka

Consume Events from Kafka

Lab 3: use Kafka Streams, stateless

Use Kafka Streams, stateless

Lab 4: make use of windows

Use Windows with Kafka Streams

Lab 5: Think about how you would detect a traffic congestion

Think about how you would tackle the problem. In how many steps would you process your data?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages