Skip to content

An experiment in using Kafka in combination with web-sockets.

Notifications You must be signed in to change notification settings

amrutha-rajiv/kafka-sockets

Repository files navigation

Kafka-Sockets

Pre-Reqs: Install Kafka, Node, Npm. Update properties.js.template to have the correct kafka URLs and copy the file over as properties.js. Run the project in two terminal windows.

npm install && npm start
npm install -g http-server && http-server .

Navigate to http://localhost:8080/client1/index.html and http://localhost:8080/client2/index.html to test.

Disclaimer: This kafka-socket paradigm used in the project by which there is 1 consumer for every socket connection is not recommended for production applications.

About

An experiment in using Kafka in combination with web-sockets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published