Giter VIP home page Giter VIP logo

chatapp's Introduction

Real-time Chat Application using Kafka, Spring Boot, and WebSockets

This project demonstrates how to build a simple real-time chat application using Kafka as a message broker, Java with Spring Boot for the backend, and WebSockets for real-time communication between the server and clients.

Technologies Used

  • Kafka
  • Java
  • Spring Boot
  • WebSocket

Installation and Setup

Prerequisites

Before you begin, ensure you have the following installed:

  • Java Development Kit (JDK)
  • Apache Kafka
  • IDE (Eclipse, IntelliJ IDEA, or any of your choice)
  • Git

Usage

Once the backend server is running, you can connect to the chat application using your preferred frontend client. Messages sent by one user will be immediately visible to all other users.

Before Running the Project

Start Zookeeper

zookeeper-server-start .\config\zookeeper.properties

Start Kafka

kafka-server-start .\config\server.properties

Create a Topic

kafka-topics --create --topic kafka-chat --zookeeper-server localhost:9092

Backend (Spring Boot)

  1. Clone this repository:

    git clone <repository-url>

chatapp's People

Contributors

subhajit4980 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.