Skip to content

This project is a simple chat application built with two backend servers (producer and consumer) and a React frontend, designed as an introductory example to demonstrate how Kafka can be used for real-time messaging between services.

Notifications You must be signed in to change notification settings

pierrdoon/node.js-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How start app on macOS with brew:

'''bach

// start kafka services

brew services start zookeeper $$ brew services start kafka

//init kafka topic

kafka-topics --bootstrap-server localhost:9092 --topic first.topic --create --partitions 3 --replication-factor 1

// start backend servers

cd backend-producer && npm run start

cd backend-consumer && npm run start

// start frontend

cd frontend && npm run start

'''

With plans to later add message persistence by saving messages to a database. Like psql or mongo, I don't know what it is yet.

About

This project is a simple chat application built with two backend servers (producer and consumer) and a React frontend, designed as an introductory example to demonstrate how Kafka can be used for real-time messaging between services.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published