Skip to content

yuvraj2112/kafka_socket_stream

Repository files navigation

kafka_socket_stream

This repo contains the project to understand end-to-end data streaming using Apache Kafka and Socket.io.

To begin:

npm i express socket.io kafka-node

Download and setup Apache Kafka: https://kafka.apache.org/quickstart Follow till Step 3.

In a new terminal:

npm server_consumer.js

In another terminal:

npm producer.js

Open index.html

In the terminal with producer.js, start entering numbers. You should be able to see the data being streamed on the webpage.

About

A starter project to see in action, streaming data using kafka and websockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published