Skip to content

henrique73/kafka-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation


Node + Kafka

About The Project

I've created this project to be able to learn more about how Kafka works and using a language that I'm familiar with which is node. Utilizing node and Kafka presented a bit of a problem as most examples and tutorials use Java, and since I was using Kafka for the first time I had some problems. Even tho there were many problems along the way, this only made me being interested in Kafka even more

Built With

Getting Started

Prerequisites

Installation

First, you will need to run yarn install in these folders: consumer-service, producer-service.

Then you will need to start zookeeper and kafka ( You're able to run Kafka in Windows, instead of using the commands in the bin folder use them in bin/windows)

After starting Kafka change the broker name and id in both folders in the app.js file. Then just use the command yarn server in both the consumer and producer folders.

About

A learning project that use Kafka + Node, 1 topic and 2 consumers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published