Skip to content

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

Notifications You must be signed in to change notification settings

pmventura/kafkajs

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published