Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1002 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 1002 Bytes

k-tail

The app is a web socket server for broadcasting kafka messages for some preconfigured topics. It's built for the educational purpose of a blog post series about programming with ZIO library. I encourage you to read the posts first.

The code uses ZIO version 2.

  • Part one, covers basic of ZIO effects, streams and layers - link
  • Part two, covers basics of concurrency and web sockets handling - link
  • Part three, covers testing - link

Overview

k-tail-overview

Run it

I assume sbt is installed on your OS.

  1. start Kafka & Zookeeper using provided docker compose file, docker compose up
  2. Run the dummy producer which will send random messages to test Kafka topic, sbt "project producer" "run"
  3. Run the server with sbt "project server" "run"