Spring Boot with Spring Kafka Producer Example | Tech Primers
ฝัง
- เผยแพร่เมื่อ 17 พ.ค. 2018
- This video covers Spring Boot with Spring kafka producer Example
Join this channel by contributing to the community:
/ @techprimers
🔗Github Code: github.com/TechPrimers/spring...
🔗Kafka Consumer Video: • Spring Boot with Sprin...
📌 Related Playlist
================
🔗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
🔗Containers Primer - • Containers Primer
🔗Kubernetes Primer - • Kubernetes Primer
🔗AWS Primer - • AWS 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: iMovie
🎼Background Music: Broke For Free - Day Bird
brokeforfree.bandcamp.com/tra...
The Passion HiFi - What We Came To Do
Joakin Karud
Dyalla
---------------------------------------------------------------
🔥 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.
#Kafka #SpringBoot #TechPrimers - แนวปฏิบัติและการใช้ชีวิต
Wasted a whole day reading a dzone article regarding kafka, this tutorial made my day, beautifully explained!!!!
Glad it was helpful!
Absolutely
bahut sahi bhai
Yes ,dzone is waste to read. Only that author will know what he is trying to say
Great and simple explanation. Nothing extra, just straight on point all the time. Thank you!
This is pure gold, the way you explained using a simple GET and showing how to pass a String and then a JSON make the example perfect, great job.
Watched so many Vidoes on Kafka to understand but finally end up with this video for kafka understanding.. Thank you for serving IT community.
Amazing channel!!! ONE OF THE BEST I've SEEN!!! THANK YOU SO MUCH! WITH LOVE & RESPECT FROM KAZAKHSTAN!!!!
Very straightforward explanation. Thank you so much. It's very useful for me!
Great video.. Easily understood.. I am a beginner to Kafka. Didn't understand all the theory part. But this practical example useful very much.
One of the great tutorial on Kafka clear and concise
thats exactly what i was looking for, thank you so much!
Very simple and straight forward explanation .... Thanks...
Perfect video to start playing with Kafka & spring boot
Thank you so much.. it is very simple and I made it in 30 mins using this tutorial
Thanks for this video. Simple and useful. it was very helpful!
Thank man, simple but detailed informative, keep it up, wish u all the best...
It is very useful video; I learned about Kafka from this video tutorial. Thank you so much and god bless you.
Awesome explanation. Able to understand the concepts clearly. Thanks.
Short and sweet tutorial. Thanks 😊
Great explained.. please post more videos on Kafka. Thank you.
Thank you for clear explanation along with example
Great. Thanks for your work, as always.
Really good explanation. It was working perfectly for me.
Thanks very much for this video.. Simple and effective
Thanks for simple and clear explanation
BEST and CLEAN Thanks
Good work guys!
Thank you so much, bro.
This video helped me a lot :)
Thank you for simple and complete explanation. :-)
Awesome video bro. Really helpful. Thanks.
Awesome - simple and great content
great, very nice explanation
Sweet and simple , thanks for the video :)
Thanks. It worked like charm!!!!
glad i found this channel
Very clear explanation. Thank you
Simple and good explanation.
Great session!
Good stuff, straight to the point. Thanks.
awesome Video !!! thanks dude!
Lovely explanation 👌🙏🏼
Thanks for the video. It's very useful.
Amazing video!
浅显易懂,非常感谢!!!
You are my tech guru
Great! Thanx for your effort!
Very good! Thank you friend! 🇧🇷
Thanks for the great content
That explanation was really really good mate! Cheers for explaining step by step! All the best :)
Good and clear explanation..
How do we need to work with multiple cluster nodes with zookeeper and spring boot (kafka).
How it will prioritize the incoming requests, because all requests are given to nodes (1..n) and in that one node gets prioritiy. How kafka handles requests and passes to zookeeper with spring boot
Very good. Thank you
very good tutorial!
Great tutorial
The way you are explaining is really good, you are making things really easy...
I have one question though, In the first example when we are sending a string message to Kafka, we didn't configure anything. Configurations like which server(BootStrapServers), Serialization info(Key and Value Serializers).
How does it happen, KafkaTemple by default does some magic inside?
What happens info I don't send Serializers info to Kafka broker while sending publishing a message?
Very nice and usefull video
very nice tutorial.
request one thing to add is kafka test
very nice...neatly explained
Glad you liked it
Good explaination
awesome video...
Thank you TechPrimers for this video, it was helpful for me to start with it. Also i would request to explain the concepts a bit slow than the present speed which is available in this video.
You can leverage the speed control in TH-cam to slow down the video by 0.5x or 0.25x 🤓
thank you so much!!
Awesome video !! Hello from Colombia
Hi Carlos. Great to see you.
Welcome to TechPrimers
while running in my local same code is giving the serializationException,unable to figure it out every thing is downloaded from GIT.pls help me to resolve
Cool !! very useful video. It's simple to understand Kafka. May I request you to make a video on multiple microservices communicating with each other using Kafka. Thank you once again for the tutorial.
yes sir, plz do that same.
Do it do it do it
Gr8, Thanks for this.
Hi, can you also cover the Sync and Async producer send options with Future and Callbacks?
I have a doubt, at 16:26, we have created a bean for producer factory but instead of autowiring in Kafka template why do we need to call the function producerFactory()?
Thank you ! ❤️
clearly understanding bro.But whats my question is in my case i want to send a file content in a topic and i have to consume it.Then what kind of value serializer have to use?
We can also configure in application.properties instead of configuration class.
hey pls tell yeah in kafka console its not displaying the message but localhost :8081 showing the message Published
Awesome xplanation, thnx! Could do some for springboot, reactive webflux.
I am facing an issue in running the KAFKA server. My ZOOKEEPER is UP. But when I am trying to UP the KAFKA server. Nothing is displayed on the screen. Even i have checked the PATH variable in USER/SYSTEM variables.
Hello Sir, how do we decide when to use messaging or when to use RestTemplate ? Can you give me some practical use cases for messaging
Can we use json object mapper instead of serialization class?
Very good video and nice explanation in simple terms. I have one query, can we publish a flat file in kafka topic. If yes, please provide the details or example on it.
@Bean above producerFactory method is not required. right? as it is getting called from the kafkaTemplate method which has @Bean
Awesome ❤️❤️❤️🔥❤️🔥❤️❤️❤️❤️
Hi sir, am unable to print the data in console while hitting the loacalhost url
In the browser it is showing puliah successfully but not publishing anything in console. Please assist me with this.
Thanks in advance.
Very good.
Can make a video on rebalancing and how to handle the rebalance at the consumer end.
How to work with Kafka on WIndows? It keep on throwing file access denied error
Hi
i got one error when i try to publish user object
kafka.controller.User cannot be cast to java.lang.String
I set the configuration exactly the same way as per video
is there any examples available where Kafka is implemented using a service??
super good and straightforward, only question is why are you using BOOTSTRAP_SERVER_CONFIG at port 9092 if default port is 2181? thanks
Great vidéo as Always #like
What if Kafka server down and we are pushing data how to handle this situation.
So nice vídeo
how to change port number 9092???? 9092 is default, if I use other than 9092 then its not working
from localhost im not able to publish my message what can I do?
It was amazing tutorial.you have explained one way but what you think about Kafka consumer.Did you cover any video for that?
Please, how calls last song in this video?
very nice thnks
Hi can we publish XML directly to Kafka topic. If yes can you provide me an example Iam in need of it. Thanks in advance ..
The kafka Topic was created on port 2181 , then why was the Producer Config Set to 9082 ?
In the Consumer Video also the Config Was having the same port 9082 . The producer Should be Posting on Port 2181 and the Consumer should be listening to port 9082 right?
What is the meaning of key.serializer config ? Is it the topic name ? Since topic name is going to be in string we provide key.serializer = StringSerializer.class ?
Good tutorial. How are you reading such things . Detailed info. while you are importing package do please show the import class once you are done with the coding for the class.
How did the Spring boot initially connected to Kafka without mentioning anything?
Why did u hardcode kafka topic?? Can't you move it to application.propertiers? Bcz students are watching
Great and simple explanation
if possible please share a real time use case of kafka in springboot µservices
It's shared already naveena
Take a look at my video on Kafka Streams
thanx a lot