Skip to content

backendverse/spring-boot-redis-pub-sub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Pub/Sub Using Redis with Spring Boot πŸš€ | Real-Time Messaging Explained 🌿 Hindi Tutorial

Welcome to Backend Verse! πŸŽ₯
In this tutorial, we explore how to implement Redis Pub/Sub with Spring Boot to enable real-time communication between services and applications. πŸš€

β–Ά Watch the Tutorial

πŸ“Ί Pub/Sub Using Redis with Spring Boot πŸš€ | Real-Time Messaging Explained 🌿 Hindi Tutorial


πŸ“ What You’ll Learn

πŸ“Œ What is Pub/Sub in Redis
⚑ How Pub/Sub works internally
πŸ”‘ Implementing Pub/Sub with Spring Boot
πŸ’‘ Real-world use case: Chat App / Notifications
βœ… Best practices for scalable event-driven apps


🎯 Why Watch This Video?

With Redis Pub/Sub, you can:
βœ”οΈ Build real-time chat and notification systems
βœ”οΈ Avoid heavy polling & improve performance
βœ”οΈ Scale microservices communication easily
βœ”οΈ Integrate seamlessly with Spring Boot


πŸ”§ Tools & Technologies Used

  • Java 17
  • Spring Boot
  • Redis
  • Gradle
  • IntelliJ IDEA
  • Postman
  • Docker
  • Docker Compose

βš™οΈ Project Setup

  1. Clone the repository:

    git clone https://github.com/backendverse/spring-boot-redis-pub-sub
    cd spring-boot-redis-pub-sub
  2. 🐳 Run with Docker Compose (Recommended)

If you don’t want to install Redis manually, you can use Docker Compose.

  1. Start containers:

    docker compose up -d
  2. Check running containers:

    docker ps

πŸ”— Example APIs

1️⃣ Publish Message

curl --location --request POST 'http://localhost:8080/notification?message=Breaking%20News%20and%20todays%20sports'

β–Ά Watch the Tutorials

πŸ“Ί Playlists for Complete Learning:

πŸ‘‰ Spring Boot Series πŸš€

πŸ‘‰ Spring Data JPA Series πŸ’Ύ

πŸ‘‰ Spring Boot Redis Series ⚑


πŸ“’ Stay Connected

πŸ‘ Like the video if you found it helpful
πŸ’¬ Drop your questions in the comments
πŸ”” Subscribe to Backend Verse for more Backend tutorials in Hindi


About

Pub/Sub Using Redis with Spring Boot πŸš€ | Real-Time Messaging Explained 🌿 Hindi Tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages