nkrajan / nodejs-kafka-streaming

Streams kafka messages on to browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nodejs-kafka-streaming

Streams kafka messages on to browser

  1. Install kafka http://kafka.apache.org/documentation.html#quickstart
  2. Install nodejs, npm - brew install nodejs (yum install nodejs)

How to start nodejs service

cd nodejs-kafka-streaming

npm install

node app.js

Access the page @ http://localhost:3000

Start typing in the messages on kafka producer CLI. You can see those messages streamed on to browser

About

Streams kafka messages on to browser


Languages

Language:JavaScript 54.2%Language:HTML 45.8%