srknzl / kafka-chat

Chat application with kafka

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Real Time Kafka Chat

Technologies

  • Kafka is used for message streaming and storage. Python library names are kafka-python and aiokafka(for asyncio integration)
  • Websocket is used for showing and sending messages without a reload need. (websockets package)
  • Asyncio and aiokafka is used for asynchronous usage of Kafka.

Running

  • Install docker and docker-compose
  • Run docker-compose up -d in root folder
  • Go to localhost:8080
  • You can use more than one browser to test, or multiple tabs in a single browser
  • Keep in mind that it can take 30 seconds for kafka and websocket server to start.

Demo

About

Chat application with kafka

License:MIT License


Languages

Language:Vue 45.5%Language:Python 41.8%Language:HTML 6.2%Language:Dockerfile 4.3%Language:JavaScript 2.2%