Skip to Main Content
Big Data Simplified
book

Big Data Simplified

by Sayan Goswami, Amit Kumar Das, Sourabh Mukherjee
June 2019
Beginner to intermediate content levelBeginner to intermediate
360 pages
10h 55m
English
Pearson Education India
Content preview from Big Data Simplified
312 | Big Data Simplied
12.4.1 Data from Producer
12.4.2 Output After Running Analysis Using Spark
12.4.3 Data Saved in Cassandra
12.4.4 Kafka Producer Streamed in Batch Mode After Every 2 Minutes
Step 6: Modify the NRTDataProducer.java class to read from source after every 2 minutes.
Using Java Executor Service class, the producer class is called at the interval of every 2 minutes
to read from source and send the message.
M12 Big Data Simplified XXXX 01.indd 312 5/13/2019 10:02:13 PM
Case Study: Retail Near Real-time Analytics | 313
The full code can be found below.
==================================================================
package ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Big Data

Big Data

James Warren, Nathan Marz
Practical Text Mining and Statistical Analysis for Non-structured Text Data Applications

Practical Text Mining and Statistical Analysis for Non-structured Text Data Applications

Gary D. Miner, John Elder, Andrew Fast, Thomas Hill, Robert Nisbet, Dursun Delen
Data Wrangling with Python

Data Wrangling with Python

Jacqueline Kazil, Katharine Jarmul

Publisher Resources

ISBN: 9789353941505