/simple-kafka-example

Basic example of kafka

Primary LanguageTypeScript

Run the TOPIC with docker

docker-compose up -d

Open a terminal tab and run this command

yarn consumer1

Open another terminal tab and run this other command

yarn consumer2

Now send the message with this command

yarn producer