Kafka Spark Streaming Integration in java from scratch | Code walk through

preview_player
Показать описание
Video explained: How to setup one data pipeline with help of Kafka - Spark Steaming integration, End to End.

Apache Kafka with spark streaming | Implementing Spark Steaming with Apache Kafka.
Spark Structured Streaming with Kafka using Java, Streaming Data Pipelines Demo, Read CSV from Kafka Topic using spark structured Streaming.

Spark installation on Windows | without Virtual box | Hands on

Рекомендации по теме
Комментарии
Автор

Very Nice tutorial Mr. Suman
You made it very simple
Thanks I appreciate

prafullvernekar
Автор

Update for 2022:

_For the KafkaProducer:_
Use following code
*"Stream<String> fileStream =
instead of
*"URI uri =
*Stream<String> FileStream = and give the ABSOLUTE path to the CSVFILE variable

Also delete the _URIException_ exception in the header of the method.


_For the SparkKafkaConsumer:_
Add *"throws InterruptedException"* to main method header.

legohistory
Автор

a very useful guide.
I was expecting the last step where the analysis with mllib is done. But very good video

emanuelebarbalaco
Автор

Thanks for the video.. Simple and nice..

AjithKumaraTube
Автор

@Binod Suman Academy any plan for creating a similar project in Python?! That would be great!

rezahamzeh
Автор

error: no suitable method found for createDirectStream(JavaStreamingContext, Class<String>, Class<String>, Class<StringDecoder>, Class<StringDecoder>, Map<String, String>, Set<String>)
while compiling SparkKafkaConsumer.java

prafullvernekar
Автор

as usual easy to understand. please create python version also. thanks.

kaushalkumar
Автор

Sir getting same error after java 1.8 in spark folder

parthvora
Автор

Thank you it easy to understand. Could you please share code, I cannot find exact code in github.

hatberry
Автор

Hi, I did go through the video What Is Apache Kafka (in the same playlist)
Are there any other prererequisite(s) to this video where you explain what actually is spark and spark streaming (feeling a little disconnect here)
Pls share with me the link if any video.
thanks sir

shubhi
Автор

How can I store the csv file generated in Hadoop ? Can you help with the code

namratamusale
Автор

thanks for this vedio, please create this video in python .

theoscie
Автор

Please add referential documents in the description to follow along with video. Your copy paste is not helping in code walkthrough

NitishGondkar
Автор

Duration is 2 minutes and that caused delay in consuming message

balasubramaniamjanakiraman
Автор

While running SparkKafkaConsumer.java, I got the following error:
Exception in thread "main" java.io.IOException: failure to login
at
Caused by: No LoginModule found for
at Source)

Can u please help fixing this error?

erummehmood
Автор

Hello, Sir I have put as CSV file in resources folder as you shown but still following error is
Exception in thread "main" Cannot invoke "java.net.URL.toURI()" because the return value of is null
at
at


49 th line is
--> URI uri =
And 38 th is


Please Guide

abhishekkushare