Kafka Tutorial - Producer API

  Рет қаралды 141,414

Learning Journal

Learning Journal

Күн бұрын

Spark Programming and Azure Databricks ILT Master Class by Prashant Kumar Pandey - Fill out the google form for Course inquiry.
forms.gle/Nxk8...
-------------------------------------------------------------------
Data Engineering using is one of the highest-paid jobs of today.
It is going to remain in the top IT skills forever.
Are you in database development, data warehousing, ETL tools, data analysis, SQL, PL/QL development?
I have a well-crafted success path for you.
I will help you get prepared for the data engineer and solution architect role depending on your profile and experience.
We created a course that takes you deep into core data engineering technology and masters it.
If you are a working professional:
1. Aspiring to become a data engineer.
2. Change your career to data engineering.
3. Grow your data engineering career.
4. Get Databricks Spark Certification.
5. Crack the Spark Data Engineering interviews.
ScholarNest is offering a one-stop integrated Learning Path.
The course is open for registration.
The course delivers an example-driven approach and project-based learning.
You will be practicing the skills using MCQ, Coding Exercises, and Capstone Projects.
The course comes with the following integrated services.
1. Technical support and Doubt Clarification
2. Live Project Discussion
3. Resume Building
4. Interview Preparation
5. Mock Interviews
Course Duration: 6 Months
Course Prerequisite: Programming and SQL Knowledge
Target Audience: Working Professionals
Batch start: Registration Started
Fill out the below form for more details and course inquiries.
forms.gle/Nxk8...
--------------------------------------------------------------------------
Learn more at www.scholarnes...
Best place to learn Data engineering, Bigdata, Apache Spark, Databricks, Apache Kafka, Confluent Cloud, AWS Cloud Computing, Azure Cloud, Google Cloud - Self-paced, Instructor-led, Certification courses, and practice tests.
========================================================
SPARK COURSES
-----------------------------
www.scholarnes...
www.scholarnes...
www.scholarnes...
www.scholarnes...
www.scholarnes...
KAFKA COURSES
--------------------------------
www.scholarnes...
www.scholarnes...
www.scholarnes...
AWS CLOUD
------------------------
www.scholarnes...
www.scholarnes...
PYTHON
------------------
www.scholarnes...
========================================
We are also available on the Udemy Platform
Check out the below link for our Courses on Udemy
www.learningjo...
=======================================
You can also find us on Oreilly Learning
www.oreilly.co...
www.oreilly.co...
www.oreilly.co...
www.oreilly.co...
www.oreilly.co...
www.oreilly.co...
www.oreilly.co...
www.oreilly.co...
=========================================
Follow us on Social Media
/ scholarnest
/ scholarnesttechnologies
/ scholarnest
/ scholarnest
github.com/Sch...
github.com/lea...
========================================

Пікірлер: 89
@ScholarNest
@ScholarNest 3 жыл бұрын
Want to learn more Big Data Technology courses. You can get lifetime access to our courses on the Udemy platform. Visit the below link for Discounts and Coupon Code. www.learningjournal.guru/courses/
@matrixlnmi169
@matrixlnmi169 6 жыл бұрын
Sir, I would like to touch your feet as my teacher/guruji. very useful and one of the best way to teach. please more video in the same style.
@andewwayne7751
@andewwayne7751 7 жыл бұрын
This is one of the best videos regarding how to create producers with APIs
@cliffmathew
@cliffmathew 5 жыл бұрын
Your series is very useful. You deserve more likes than I see registered.
@ankitkumar-wp5ny
@ankitkumar-wp5ny 7 жыл бұрын
First time i found a channel where everything is explained clearly and from scratch. you are doing really nice work sir. Thank you so much. If you have spark tutorial as well please tell me.
@ScholarNest
@ScholarNest 7 жыл бұрын
@Ankit, Spark is comming soon :-)
@deepakgupta-hk9ig
@deepakgupta-hk9ig 7 жыл бұрын
Awesome waiting for the spark tutorials also :)
@manikandansaravanan5248
@manikandansaravanan5248 7 жыл бұрын
Extremely Great . Even if we just listen the Audio by closing the eyes .our mind visualize the entire Kafka system . Great work sir !!! you keep post .. will keep grow
@sridhark6826
@sridhark6826 7 жыл бұрын
Excellent , I will never forget Kafka , Please upload videos related to cracking big data interviews.Really awesome
@gobiviswa7848
@gobiviswa7848 7 жыл бұрын
I feel python package gives easy way to create producer in just few lines of code... wonderful , thanks :)
@luisjaimegonzalez
@luisjaimegonzalez 7 жыл бұрын
Dear Sr. you are my hero, thank you so much for sharing this knowledge !
@veerukbr1184
@veerukbr1184 7 жыл бұрын
Excellent.......Best video....with less timing....i really enjoyed a lot...please make video for spark scala with sbt and eclipse and R integration part as well.......
@nidhirazdan6596
@nidhirazdan6596 6 жыл бұрын
Awesome ,Very Simple and so effective .Brucelee of Kafka is Sir !!!
@ramasubbareddy6147
@ramasubbareddy6147 6 жыл бұрын
Clear explanation about kafka producer API
@avelincorreia3418
@avelincorreia3418 7 жыл бұрын
very nice. simple and yet covers important topics. thanks.
@sunil28071987
@sunil28071987 7 жыл бұрын
Seriously Awesome Tutorial...!!!
@pankajsamadhiya8471
@pankajsamadhiya8471 7 жыл бұрын
Very Nice tutorial and well explained..useful for beginner and expert as well
@nikhillahoti7628
@nikhillahoti7628 7 жыл бұрын
Simply amazing. Thank you so much. Please keep posting such videos.
@ericansah525
@ericansah525 5 жыл бұрын
Very good video and easy to comprehend.
@bnagarajan2176
@bnagarajan2176 4 жыл бұрын
Nice video please upload more Kafka
@AkshayA86
@AkshayA86 7 жыл бұрын
Very nicely explained. Thanks for the hard work you put in sharing this.
@gokuldighe9160
@gokuldighe9160 6 жыл бұрын
excellent video ...this is what I was looking for
@NirdeshM
@NirdeshM 7 жыл бұрын
very well explained.
@KC-zn4gt
@KC-zn4gt 6 жыл бұрын
Excellent explanation and clear. Thank you.
@bharathnagamalla7713
@bharathnagamalla7713 5 жыл бұрын
Awesome Videos! If you have Hive Videos as well please tell us.
@satish.b
@satish.b 7 жыл бұрын
In a previous video you had mentioned that all clients connect to the master for the partition. How is the producer connecting to the master?
@niravarma
@niravarma 4 жыл бұрын
Good question. If I am not wrong, from his tutorial, what I understood was that this master (called as Leader in Apache Kafka) is the only one who receives the message so there is no need to specify in the args to which replica message should arrive. About how producer delivers message, that is presented in next video tutorial.
@monalkumar3698
@monalkumar3698 4 жыл бұрын
awesome video thanks a lot
@TheGegX
@TheGegX 7 жыл бұрын
Thank you a lot for this nice tutorial. Good work!
@ckudalkar
@ckudalkar 5 жыл бұрын
wah wah wah...! period!
@abhijeetkumar3569
@abhijeetkumar3569 6 жыл бұрын
I'm getting import error. I don't know what to do, I'm using eclipse oxygen and created the maven project and inside pom.xml, I've installed dependencies as well.
@sohamkamanitech
@sohamkamanitech 7 жыл бұрын
Amazing video! Well explained
@nandininema7123
@nandininema7123 3 жыл бұрын
Amazing 😍
@maravarmanmanoharan3300
@maravarmanmanoharan3300 6 жыл бұрын
Nice Explanation thanks
@MohammadFaizanKhanJ
@MohammadFaizanKhanJ 5 жыл бұрын
Good job sir but there are four core APIs not two. The other two are Streaming API and Connector API. Did you make any video/tut for this? Please share the link? Additionally do you know any .net implementation of kafka?
@vaddadisanthoshkumar4143
@vaddadisanthoshkumar4143 6 жыл бұрын
Love you sir 🙏🙏🙏 great expalination.
@MrJeffherman
@MrJeffherman 6 жыл бұрын
Thanks for putting such a wonderful tutorials for us.I am having around 6 years of experience in ETL,DW and reporting background and trying to learn big data technologies from a long time.I have learnt Scala(Basics for spark),Apache Spark on my own and trying to learn Apache Kafka but I am bit worried about java as I don't have any knowledge of it.Can you please tell me how much Java I will have to learn in order to write efficient code for Apache kafka or it is doable through Scala too ?
@ScholarNest
@ScholarNest 6 жыл бұрын
Kafka is written in Java. There are language binding and wrappers for other languages but I Scala clients are not in good shape. I recommend learning core Java. That's going to help you in long run. Java is too big as an ecosystem and frameworks. But core Java should be the must thing for a big data developer.
@MrJeffherman
@MrJeffherman 6 жыл бұрын
Awesome.Would learn basics of java too then
@MrRimmy
@MrRimmy 7 жыл бұрын
Hello Sir, Thank you for giving such useful information. My Query: When we write our own producer java program, how we will run that jar?? some thing related to kafka/libs/..
@ScholarNest
@ScholarNest 7 жыл бұрын
You can run your jar using java. Include your jar location in your classpath. Most of the Kafka dependency is available in Kafka lib directory. You may want to include them as well.
@mohammedmohideen1756
@mohammedmohideen1756 5 жыл бұрын
Good one thx...!
@aritrabasu8794
@aritrabasu8794 7 жыл бұрын
Sir ,can u add a tutorial on spring/sprint boot? Thanks..
@srikanthch1524
@srikanthch1524 5 жыл бұрын
Thx for the videos. Can we use Kafka for long processing things..like suppose a customer can have orders from 1k to 1million orders..n to process each customer avg it takes 2hrs..can we use Kafka here..presently we are using rabbit mq with 50 threads ..all customers in one queue..
@ScholarNest
@ScholarNest 5 жыл бұрын
That's what Kafka is designed for :-) Go for it.
@asimranjanpanigrahi
@asimranjanpanigrahi 6 жыл бұрын
Sir, This is very informative. do you have any tutorial for java?
@ScholarNest
@ScholarNest 6 жыл бұрын
No Java yet.
@lokeshreddy9837
@lokeshreddy9837 6 жыл бұрын
Thanks you so much sir.
@rudreshbhatt2919
@rudreshbhatt2919 6 жыл бұрын
Hello Sir, I'm pretty new to kafka, I'm trying to create sample application using .net code. Can you please help me with some step by step implementation guide like this?
@megha02jain
@megha02jain 6 жыл бұрын
If we use the ProducerRecord API with both key and partition field, which one will be preferred for selecting the partition?
@ScholarNest
@ScholarNest 6 жыл бұрын
It's a small test, I encourage you to do it yourself and let everyone know the answer.
@KapilKumar-hk9xk
@KapilKumar-hk9xk 7 жыл бұрын
hello sir, your videos are very knowledgeable but I have one doubt related to the role of kafka in production environment. Suppose I am creating a streaming application for Macdonald which will take the customer/order/offer json data from point of sell. This I want to process through spark streaming. So where exactly kafka producer and consumer api will sit here. Will it be a bridge between Macdonald POS and my streaming application...? If yes, then producer api will be bridge or consumer api will be bridge? I am not able to imagine, please enlighten me.
@ScholarNest
@ScholarNest 7 жыл бұрын
Producer at POS can send data to Kafka Broker and Spark Streaming should consume it directly from Kafka Broker. You may don't need a consumer in this case.
@manirasaily2171
@manirasaily2171 6 жыл бұрын
Tussi great ho sir :)
@josephkingstonleomariamich7220
@josephkingstonleomariamich7220 7 жыл бұрын
Hi , I tired this example but getting exception(Invalid value SupplierDeserializer for configuration value.deserializer: Class SupplierDeserializer could not be found.) please help me. This dependency am using, org.apache.kafka kafka-clients 0.10.1.1
@avibitm
@avibitm 3 жыл бұрын
same thing can i get in python
@sahilchhabra956
@sahilchhabra956 7 жыл бұрын
Hi, I have a doubt. While storing messages in Kafka in the form of Key-value pair, its not necessary for key to be unique? If yes, then how can we extract all the values of a particular key from Kafka?
@ScholarNest
@ScholarNest 7 жыл бұрын
Kafka is not a Key-values store. We never extract messages based on a key. I suggest you watch all the videos and note down your queries. Hold on your questions until you reach the end of the series. By the end of the series, you will have answers for most of your questions. If something is still not answered, send me those questions. I will answer them.
@nipunsharma7194
@nipunsharma7194 7 жыл бұрын
Awesome videos :)
@deepakgupta-hk9ig
@deepakgupta-hk9ig 7 жыл бұрын
Kindly confirm do I need to create a maven project in eclipse IDE and then add the dependency of Consumer and producer API to run all the examples described in the videos
@ScholarNest
@ScholarNest 7 жыл бұрын
Using a build tool like maven to resolve dependency is the ideal method. However, you can also download the JAR and include it in your project. You can find the jar here. mvnrepository.com/artifact/org.apache.kafka/kafka-clients/0.10.1.0
@gksrikanthachar1787
@gksrikanthachar1787 4 жыл бұрын
Hi sir, I wanted to know if there is an upper limit on data that can be stored in a single partition of a topic at any time?
@LivenLove
@LivenLove 4 жыл бұрын
I think yes and we can specify it using log.retention.bytes
@miguelfrosales01
@miguelfrosales01 5 жыл бұрын
In one of your previous videos you mentioned a producer only speaks with a master broker of sorts, why is it then normal to specify more than one broker?
@ScholarNest
@ScholarNest 5 жыл бұрын
Producer only speaks to the leader of the partition. That's correct. But how would the producer know who is the leader? So, we give him ip for one or more broker (any broker) which is used to query metadata. The metada contain the list of topic partition and leader address.
@karthikmuthyala1251
@karthikmuthyala1251 7 жыл бұрын
I ran the code these are the last lines after code got executed , but when I try to read topic contents through kafka console consumer it is showing empty [main] INFO org.apache.kafka.common.utils.AppInfoParser - Kafka version : 0.11.0.0 [main] INFO org.apache.kafka.common.utils.AppInfoParser - Kafka commitId : cb8625948210849f [main] INFO org.apache.kafka.clients.producer.KafkaProducer - Closing the Kafka producer with timeoutMillis = 9223372036854775807 ms. SimpleProducer Completed.
@vigneshrajans2975
@vigneshrajans2975 6 жыл бұрын
Hi Sir, I am from non java platform.can we able to programme any other language
@kumarsushma
@kumarsushma 5 жыл бұрын
Does the client code needs to be updated everytime there's a new broker added?
@ScholarNest
@ScholarNest 5 жыл бұрын
No. Not at all.
@Jaspreetkaur-ui7xu
@Jaspreetkaur-ui7xu 7 жыл бұрын
hi,, can someone please explain me how can we make a directory/folder in unix as kafka producer. I need to read multiple files that are coming in a directory continuously using kafka,, how can i do that,, can someone please explain me.. thanks in advance!
@GONTUBOSS
@GONTUBOSS 6 жыл бұрын
what are jar file required to create producer using java please send me link
@mahammadshoyab9717
@mahammadshoyab9717 7 жыл бұрын
hello sir can you share text documentation of kafka which help for cracking interview and learning kafka ,please
@ScholarNest
@ScholarNest 7 жыл бұрын
I haven't made any document but looks like people want it. I will make one by the end of this month and share.
@doronae1
@doronae1 7 жыл бұрын
Hi Great session !!! Kudos Any news about the sharing of a text documents of these Kafka session? Great thanks again, Well Done !
@kamalbctg
@kamalbctg 5 жыл бұрын
available on udemy?
@ScholarNest
@ScholarNest 5 жыл бұрын
No. It's free at KZbin.
@mpgrewal00
@mpgrewal00 7 жыл бұрын
Gold
@josephkingstonleomariamich7220
@josephkingstonleomariamich7220 7 жыл бұрын
Tutorial is good but how to import his project which build that is killing me
@ScholarNest
@ScholarNest 7 жыл бұрын
Didn't get you.
@josephkingstonleomariamich7220
@josephkingstonleomariamich7220 7 жыл бұрын
I am trying with Maven now as am aware of Maven and Gradle, but I dont know about SBT. Please post SPARK soon.Thanks again.
@Vishall861
@Vishall861 7 жыл бұрын
anyone please help on How to send Xml file?
@itsmylife8260
@itsmylife8260 6 жыл бұрын
hai sir, am getting error in execution in terminal. plz can u tell me how to execute in terminal.
@ScholarNest
@ScholarNest 6 жыл бұрын
What error are you getting?
@itsmylife8260
@itsmylife8260 6 жыл бұрын
bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic tn (enter) its not come out form dat.its not displying any msg. sir do u have step by step process for executing producer in cosole in github.
@ScholarNest
@ScholarNest 6 жыл бұрын
I have documented all steps, commands etc at my website. Check this page. It might help you resolve the issue. www.learningjournal.guru/courses/kafka/kafka-foundation-training/quick-start-demo/ One more thing. Start the consumer first in one terminal and then start the producer in another terminal. Producer should send messages when consumer is already listening for it. Sometime that helps.
@itsmylife8260
@itsmylife8260 6 жыл бұрын
i done the above video sir.actually its really help full. i understand the process in the above video.am preparing my own nodes based on ur tutorial sir. my doubt is how can i run the producer api , consumer api in terminal.
@ScholarNest
@ScholarNest 6 жыл бұрын
The process for compiling and executing producer and consumer API is also explained in the video. Source code is available at the website and also in GitHub. I used SBT to compile and run the code. If you have any doubt on SBT, I have a full SBT tutorial as part of my Scala tutorial playlist.
@pratikshamete2281
@pratikshamete2281 3 жыл бұрын
Hi
Kafka Tutorial   Producer Workflow
5:18
Learning Journal
Рет қаралды 80 М.
Kafka Tutorial - Exactly once processing
13:33
Learning Journal
Рет қаралды 53 М.
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 74 МЛН
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 29 МЛН
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26
Kafka Tutorial - Schema Evolution Part 2
9:59
Learning Journal
Рет қаралды 30 М.
Kafka Tutorial CreatingConsumer
7:45
Learning Journal
Рет қаралды 63 М.
Kafka Tutorial - Fault Tolerance
12:08
Learning Journal
Рет қаралды 171 М.
Kafka Tutorial   Offset Management
9:37
Learning Journal
Рет қаралды 100 М.
Integrate Kafka and MQTT - How to connect MQTT and Kafka
25:05
Techletters
Рет қаралды 21 М.
What is Kafka?
9:17
IBM Technology
Рет қаралды 465 М.
Kafka Tutorial - Producer Configs
10:41
Learning Journal
Рет қаралды 53 М.
Kafka Tutorial   Schema Evolution Part 1
15:32
Learning Journal
Рет қаралды 57 М.