Spring Boot Server Sent Events Example | Unidirectional Streams | Tech Primers
Vložit
- čas přidán 2. 07. 2024
- This video covers the implementation of Server Sent Events using Spring Boot APIs. There are 2 ways in which we can achieve them, both are shown here.
🔗Github link for code: github.com/TechPrimers/server...
📌 Chapter Timestamps
====================
00:00 - Intro & Setting context
00:34 - Sprint Boot Implementation
09:22 - Output using CURL
10:37 - Output using browser
📌 Previous Videos
=================
🔗 HTTP Long Polling vs Server Sent Events vs Websockets: • HTTP Long Polling vs S...
🔗 Websockets example using Spring Boot: • WebSockets using Sprin...
Join this channel by contributing to the community:
/ @techprimers
📌 Related Links
=============
🔗 Terraform Getting Started: • Terraform Primer | Get...
🔗 Terraform Architecture: • Terraform Primer | Ter...
🔗 Terraform setup: www.terraform.io/downloads.html
🔗 Github code: github.com/TechPrimers/terraf...
🔗 Terraform Providers: registry.terraform.io/browse/...
📌 Related Playlist
================
🔗 Terraform Playlist - • Terraform Primers
🔗Spring Boot Primer - • Spring Boot Primer
🔗Spring Cloud Primer - • Spring Cloud Primer
🔗Spring Microservices Primer - • Spring Microservices P...
🔗Spring JPA Primer - • Spring JPA Primer
🔗Java 8 Streams - • Java 8 Streams
🔗Spring Security Primer - • Spring Security Primer
💪 Join TechPrimers Slack Community: bit.ly/JoinTechPrimers
📟 Telegram: t.me/TechPrimers
🧮 TechPrimer HindSight (Blog): / techprimers
☁️ Website: techprimers.com
💪 Slack Community: techprimers.slack.com
🐦 Twitter: / techprimers
📱 Facebook: TechPrimers
💻 GitHub: github.com/TechPrimers or techprimers.github.io/
🎬 Video Editing: FCP
---------------------------------------------------------------
🔥 Disclaimer/Policy:
The content/views/opinions posted here are solely mine and the code samples created by me are open sourced.
You are free to use the code samples in Github after forking and you can modify it for your own use.
All the videos posted here are copyrighted. You cannot re-distribute videos on this channel in other channels or platforms.
#ServerSentEvents #SpringBoot #TechPrimers - Jak na to + styl
Excellent video
Server Sent Events can be very helpful for the building stock pricing applications. thanks
Yes, you are right Aswarth. i have shown how Zerodha (Trading application) uses it my previous comparison video
Thank you
Informative
great staff, so if we were getting the data from say a database that is being continuously inserted data by some application, when we reach completed in our stream, and new data gets inserted what happens?
how can i make a notification service in spring? it looks like sse is perfect for this but i still cannot figure out how a full service will look like
Quick question. Is this applicable in non reactive paradigm where I am not going to use FLux?
Hi dear... I follow all ur knowledge videos since years and they are best....Can you please make some tutorials on elastic search programming with java... Like how to retrieve... Update... Delete... Load data in elastic using java program.....
Elastic is very much used in IT this days
Hi Yogesh thank you. there is a series on that. Can you check it out. Spring Data Elasticsearch
@@TechPrimers thanks a lot Ajay... I found it .... Appreciate u for all your knowledge sharing....
Hi, can we implement this while fetching data from relational database or do we need to use R2DBC driver as well, it would be really helpful if you please make server side streaming video with any relational databases, thank you
czcams.com/video/EnUsNVHveyU/video.html
Would be helpful if you share nodejs example
Its almost similar to this one. Take a look at this sample - www.digitalocean.com/community/tutorials/nodejs-server-sent-events-build-realtime-app
But how can I integrate this with a client like a ReactJS frontend? I am confused. What benefit are we having after using spring webflux like this? Can someone help me understand, please?
I think that SSE should be used together with rest mapping and no as webflux..
Hi @Tech Primers, Great video. Hey, I am wondering if you have thoughts around how does SSE performs with a huge volume when server end up sending multiple events to many clients at the sametime? Perhaps, a comparison between SSE and Websocket will be a good one
Sure buddy. Will do
Thanks. Why not use boot3?
Spring Boot 3 videos are coming.. I just wanted Spring Boot 3 to be GAed and run for couple of months before i upgrade. Any specific video you are looking for with Spring Boot 3?
@@TechPrimers Thanks. Maybe on spring cloud stream, kafka and this topic. U made a great video on kafka streams but now, maybe an upgrade to boot3 will be great?
sure. will do it. thank you