Skip to content

Latest commit

 

History

History
executable file
·
24 lines (19 loc) · 396 Bytes

README.md

File metadata and controls

executable file
·
24 lines (19 loc) · 396 Bytes

Kafka Client

Start the kafka Server

Start a container

$ docker-compose up -d

Create topic

$ docker-compose exec broker kafka-topics --create --zookeeper \
  zookeeper:2181 --replication-factor 1 --partitions 1 --topic users

Show topics

$ docker-compose exec broker kafka-topics --list --bootstrap-server localhost:9092

Start the application

$ sbt run