pmventura / kafkajs

A small program that will able to run a kafka, zooker, producer and consumer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KafkaJS

A small program that will able to run a kafka, zookeeper using Docker. While producer and consumer can be run through javascript

Here are the steps to run:

  1. Spin up the zookeeper and kafka servers
  • docker-compose up
  1. Initialize the topics
  • node topic.js
  1. Run the consumer
  • node consumer.js
  1. Create a producer (The 2nd argument will be the value for message which is paul)
  • node producer.js paul

About

A small program that will able to run a kafka, zooker, producer and consumer


Languages

Language:JavaScript 100.0%