vinigmoraes / kafka-playground

Bank Application using Kafka as Event Stream :rocket:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kafka Playground

Bank Application simulating a Kafka environment using Kafka Connect, Schema Registry and Kafka Streams.

For building and running the application you need:

Executing requests

Run in Postman

Running

docker-compose up --build

Kafka Commands

Use this command inside kafka container or if you already have kafka in your computer.

List All Topics

    kafka-topics.sh --list --zookeeper localhost:2181

Create Topic

    kafka-topics.sh --zookeeper localhost:2181 --create --topic users-created --partitions 3 --replication-factor 1

See topic messages

    kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic users-created --from-beginning

Running with docker

./gradlew build && docker-compose up --build

Testing

./gradlew test

Deployment

Application is configured to every push to master execute deploy automatic.

Built With

About

Bank Application using Kafka as Event Stream :rocket:


Languages

Language:Kotlin 100.0%