Wasted a whole day reading a dzone article regarding kafka, this tutorial made my day, beautifully explained!!!!
@TechPrimers4 жыл бұрын
Glad it was helpful!
@VANTYCSolutions4 жыл бұрын
Absolutely
@abhishek97203 жыл бұрын
bahut sahi bhai
@BaluKompalli3 жыл бұрын
Yes ,dzone is waste to read. Only that author will know what he is trying to say
@utbhargav3 жыл бұрын
Watched so many Vidoes on Kafka to understand but finally end up with this video for kafka understanding.. Thank you for serving IT community.
@JohnnyNilsson833 жыл бұрын
Great and simple explanation. Nothing extra, just straight on point all the time. Thank you!
@Hufsa2 жыл бұрын
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.
@BaluKompalli3 жыл бұрын
Great video.. Easily understood.. I am a beginner to Kafka. Didn't understand all the theory part. But this practical example useful very much.
@cicciopasticcio84693 жыл бұрын
Perfect video to start playing with Kafka & spring boot
@adilkhanabdrashov75073 жыл бұрын
Amazing channel!!! ONE OF THE BEST I've SEEN!!! THANK YOU SO MUCH! WITH LOVE & RESPECT FROM KAZAKHSTAN!!!!
@cleyxds3 жыл бұрын
thats exactly what i was looking for, thank you so much!
@dac59613 жыл бұрын
It is very useful video; I learned about Kafka from this video tutorial. Thank you so much and god bless you.
@NgocBich-tunmiumeo3 жыл бұрын
Very straightforward explanation. Thank you so much. It's very useful for me!
@nagarajanerode4 жыл бұрын
Very simple and straight forward explanation .... Thanks...
@spicy26023 жыл бұрын
Short and sweet tutorial. Thanks 😊
@thulasikiran5 жыл бұрын
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.
@AbhishekSingh-xx5tx5 жыл бұрын
yes sir, plz do that same.
@mohammadzeeshan70745 жыл бұрын
Do it do it do it
@RohitSingh-ITProfessional2 жыл бұрын
Awesome - simple and great content
@Srini81744 жыл бұрын
Thank you for clear explanation along with example
@silviafarfan25232 жыл бұрын
Very clear explanation. Thank you
@AI_for_funn3 жыл бұрын
glad i found this channel
@naveenakuntalabavi30552 жыл бұрын
Great and simple explanation if possible please share a real time use case of kafka in springboot µservices
@TechPrimers2 жыл бұрын
It's shared already naveena Take a look at my video on Kafka Streams
@raghuls14692 жыл бұрын
Really good explanation. It was working perfectly for me.
@karthikmk96 жыл бұрын
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
@SushilKumarBhaskar5 жыл бұрын
One of the great tutorial on Kafka clear and concise
@ambersingh14933 жыл бұрын
Awesome video bro. Really helpful. Thanks.
@commonman8540 Жыл бұрын
great, very nice explanation
@jayanareshk75665 жыл бұрын
Thanks for simple and clear explanation
@bcreatename5 жыл бұрын
Great explained.. please post more videos on Kafka. Thank you.
@deepujs3 жыл бұрын
@Bean above producerFactory method is not required. right? as it is getting called from the kafkaTemplate method which has @Bean
@Mahesh-ry9oe5 жыл бұрын
We can also configure in application.properties instead of configuration class.
@balsubu12 жыл бұрын
very nice...neatly explained
@TechPrimers2 жыл бұрын
Glad you liked it
@UmarShaikh-ck3vt2 жыл бұрын
BEST and CLEAN Thanks
@rakeshroshan8294 жыл бұрын
Hi, can you also cover the Sync and Async producer send options with Future and Callbacks?
@bilalhayat14 жыл бұрын
Simple and good explanation.
@yadd132 жыл бұрын
Lovely explanation 👌🙏🏼
@nabarunbhowmick14886 жыл бұрын
Instead of the config file, we can make use of the properties file by adding two entries in application.properties spring.kafka.producer.value-serializer=org.springframework.kafka.support.serializer.JsonSerializer spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer Springboot will take care of the DI
@EvgeniiSuvorov5 жыл бұрын
What if I want to use my own serializer like mapstruct for example?
@chenyangwang72325 жыл бұрын
Thank you! You solved my problem!
@SivaPolamarasetti3 жыл бұрын
Thank you for your video I want some clarification on Kafka is it suitable for financial services like banking sector
@TechPrimers3 жыл бұрын
If you use necessary security measures for authentication, authorization, data encryption/masking, storge, etc., then you can use it.
@TechPrimers3 жыл бұрын
Here is a case study from Capital One bank www.confluent.io/kafka-summit-sf18/building-an-enterprise-streaming-platform-capital-one/
@SivaPolamarasetti3 жыл бұрын
@@TechPrimers thank you for your reply
@stephenlimb61412 жыл бұрын
Good stuff, straight to the point. Thanks.
@amebaos4 жыл бұрын
Thanks. It worked like charm!!!!
@laxman201013 жыл бұрын
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()?
@MrYtkrishna4 жыл бұрын
Good and clear explanation..
@meprajwal014 жыл бұрын
Thanks for the video. It's very useful.
@carlosjuliopv5 жыл бұрын
Awesome video !! Hello from Colombia
@TechPrimers5 жыл бұрын
Hi Carlos. Great to see you. Welcome to TechPrimers
@geekgeeks22566 жыл бұрын
Really thankful to your videos i somehow started my journey in micro services ...One Query *where will we use kafka in real world projects ? If any of you guys could share the example it will be really helpful* Thank you..
@TechPrimers6 жыл бұрын
Usually Kafka is used in Big Data space where huge stream of messages need to be processed. It goes well with Spark Streaming and Kafka Streams
@geekgeeks22566 жыл бұрын
Thank you Ajay for the instant reply
@CarlSaptarshi5 жыл бұрын
it can also be used for general event driven programming - you may have many microservices in your project, and they may be waiting for some event to be triggered asynchronously. By putting messages onto a kafka topic, the consumer will detect that a message has been put onto that specific topic, and will consume from it immediately, and enable that flow to begin, whilst some other unrelated process continues on as part of that specific flow
@jhonceenaskt5 жыл бұрын
Thank man, simple but detailed informative, keep it up, wish u all the best...
@sudarsanedagotti45255 жыл бұрын
Thank you so much.. it is very simple and I made it in 30 mins using this tutorial
@davidemm8415 жыл бұрын
Thanks for this video. Simple and useful. it was very helpful!
@availkrishmytube3 жыл бұрын
Great session!
@balamurali72144 жыл бұрын
Awesome explanation. Able to understand the concepts clearly. Thanks.
@AryanVenkatOfficial6 жыл бұрын
Good work guys!
@sumeshsuseelan29544 жыл бұрын
Thank you so much, bro. This video helped me a lot :)
@diogennesthesinope613 жыл бұрын
Awesome xplanation, thnx! Could do some for springboot, reactive webflux.
@HariPrasad-yt4mn3 жыл бұрын
You are my tech guru
@na-kh5lg4 жыл бұрын
It was amazing tutorial.you have explained one way but what you think about Kafka consumer.Did you cover any video for that?
@balajimanoharan17164 жыл бұрын
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.
@SuurTaalSadhana2 жыл бұрын
Amazing video!
@cafeta6 жыл бұрын
Excellent tutorial, I fallowed but the only different is I use Kafka inside a Docker container.
@rajneeraj82475 жыл бұрын
@cafeta can you please help me with sample code, I m new to kafka and trying to use with docker. Kafka broker and zookeeper are running in docker and I am trying to produce and consume from other docker container.
@kashif37206 жыл бұрын
very nice tutorial. request one thing to add is kafka test
@diegoramos274 жыл бұрын
super good and straightforward, only question is why are you using BOOTSTRAP_SERVER_CONFIG at port 9092 if default port is 2181? thanks
@mahaveerkolekar38624 жыл бұрын
Very nice and usefull video
@amithraju8306 жыл бұрын
Can make a video on rebalancing and how to handle the rebalance at the consumer end.
@MohammadRasoolShaik4 жыл бұрын
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?
@varunpanji4 жыл бұрын
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.
@TechPrimers4 жыл бұрын
You can leverage the speed control in KZbin to slow down the video by 0.5x or 0.25x 🤓
@pallavimisra97533 жыл бұрын
Thanks for the great content
@abhiroy823 жыл бұрын
awesome Video !!! thanks dude!
@monalisakushwaha25174 жыл бұрын
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.
@sfandi19463 жыл бұрын
very good tutorial!
@dimimurik39703 жыл бұрын
Great! Thanx for your effort!
@himanshudesai173 жыл бұрын
What if Kafka server down and we are pushing data how to handle this situation.
@kirityrapuru5 жыл бұрын
Great. Thanks for your work, as always.
@vishnumurali5225 жыл бұрын
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?
@yuriihizun71836 жыл бұрын
Good tutorial, maybe you will make a new video about consuming kafka message with spring boot.
@TechPrimers6 жыл бұрын
Yes. uploaded the consumption part now. check out the latest video
@yuriihizun71836 жыл бұрын
Ooooouu so fast.
@suryasimhadri3 жыл бұрын
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.
@rajkishorekumar6 жыл бұрын
Thanks very much for this video.. Simple and effective
@kommesreelatha4732 жыл бұрын
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.
@ChaitanyaHegde20125 жыл бұрын
Nice video. Can you please tell me why do we need to start consumer when we are creating a producer. ?
@TechPrimers5 жыл бұрын
That’s just for demo
@shivammishra0095 жыл бұрын
Sweet and simple , thanks for the video :)
@anil20094 жыл бұрын
Sir please mention order of videos . for own learners it's too hard to follow the playlist
@akhileshguptaakhi4 жыл бұрын
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
@swapnilmedhe66793 жыл бұрын
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
@chenyangwang72325 жыл бұрын
I followed exactly the same thing as yours, but why I got an error saying "cannot convert value User to class org.apache.kafka.commo.serialization.StringSerializer specified in value.serializer"
@rakesh82653 жыл бұрын
Add this to application.properties file spring.kafka.producer.value-serializer= org.apache.kafka.common.serialization.StringSerializer spring.kafka.producer.key-serializer= org.apache.kafka.common.serialization.StringSerializer
@Fred_Klingon4 жыл бұрын
Nice explanation! Now I need to find how to receive a published message (serialized as json) in another spring application. What do you think about having a common module between two or more applications, containing the message templates? That would be handy, but also dangerous if somebody changes them without checking who is receiving them.
@TechPrimers4 жыл бұрын
There is a concept of Schema Registry where the message contract is stored. Confluent Kafka provides it.
@Fred_Klingon4 жыл бұрын
@@TechPrimers thx
@kaikeventura38934 жыл бұрын
Very good! Thank you friend! 🇧🇷
@sanki5554 жыл бұрын
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?
@NikhilJain083 жыл бұрын
How to work with Kafka on WIndows? It keep on throwing file access denied error
@rutulshah20073 жыл бұрын
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 ?
@selvarajb87914 жыл бұрын
hey pls tell yeah in kafka console its not displaying the message but localhost :8081 showing the message Published
@santhoshmittapelly39593 жыл бұрын
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 ..
@umarulfarooqa43134 жыл бұрын
Very good.
@GaneshGane-sl1fi3 жыл бұрын
from localhost im not able to publish my message what can I do?
@SameeraSenarathna5 жыл бұрын
Thank you for simple and complete explanation. :-)
@АлексейСидорин-э9ы2 жыл бұрын
Please, how calls last song in this video?
@karan65513 жыл бұрын
Awesome ❤️❤️❤️🔥❤️🔥❤️❤️❤️❤️
@Shiva-zy7jq4 жыл бұрын
How did the Spring boot initially connected to Kafka without mentioning anything?
@rajnishsasmal5 жыл бұрын
Very Good TOPIC , but my cases it was not working for JSON format. I am getting some ClassCastException..I changed to the following code, it started working... @Autowired private KafkaTemplate kafkaTemplate; private static final String TOPIC = "Kafka_Example"; User user = new User(name, "Mechanical", 10000L) ; ObjectWriter ow = new ObjectMapper().writer().withDefaultPrettyPrinter(); String json = null; try { json = ow.writeValueAsString(user); } catch (JsonProcessingException e) { // TODO Auto-generated catch block e.printStackTrace(); } kafkaTemplate.send(TOPIC, json);
@GURUKHAN_OG4 жыл бұрын
Very helpful videos. Do we have something that can post a Object directly to the topic?
@TechPrimers4 жыл бұрын
Nope buddy. Not directly
@yhariprasadreddy29496 жыл бұрын
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
@entertainment555 жыл бұрын
how to change port number 9092???? 9092 is default, if I use other than 9092 then its not working
@namankumar22205 жыл бұрын
awesome video...
@rrafaelpaz5 жыл бұрын
That explanation was really really good mate! Cheers for explaining step by step! All the best :)
@karthikmk96 жыл бұрын
Good explaination
@124estera5 жыл бұрын
Very good. Thank you
@SHIVAKUMAR-sg2pp4 жыл бұрын
Can we use json object mapper instead of serialization class?