mathias21 / kotlin-ktor-kafka

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kotlin-ktor-kafka

This is a simple ktor web application, backed by Kafka Streams interactive queries. To run locally:

  • Start zookeeper: bin/zookeeper-server-start.sh config/zookeeper.properties
  • Start kafka server: bin/kafka-server-start.sh config/server.properties
  • Create topic: bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic commands
  • Create topic: bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic command-responses
  • Create topic: bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic events

About


Languages

Language:Kotlin 100.0%