Skip to content

Simple example of how to publish and consume a data from kafka data stream service.

Notifications You must be signed in to change notification settings

JhonatanEstabile/kafka-nodejs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kafka-nodejs-example

Simple example of how to publish and consume data from kafka stream service using kafkajs library.

Installation

Enter in project folder and run the command bellow

docker-compose up -d

after that enter in consumer and producer folder and install packagens with:

npm install

Usage

After installation you can start the producer and consumer with:

node ./producer/index.js
node ./consumer/index.js

About

Simple example of how to publish and consume a data from kafka data stream service.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published