khamiruf / kafka_socket_stream

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:JavaScript 87.5%Language:HTML 12.5%