Research Article

Streaming process based on Spark and Kafka and its case application

Jiayi Fang*
Henan University of Economics and Law

* Corresponding author: [email protected]

Abstract

E-commerce platforms gradually integrate into our lives. Online shopping has become a daily habit for people. People who shop online will generate online shopping records in real time. These online shopping records are often massive. E-commerce platforms use relevant big data technology to conduct statistics on real-time user data. In response to the current demand for e-commerce platforms for big data real-time computing technology, this article provides an idea of big data streaming computing, a framework for combining two big data technologies, Spark and Kafka, to process streaming data. This framework uses Kafka to send real-time data to SparkStreaming for calculation. Then the obtained data is visualized. This article applies these two big data technologies to simulate and implement an application case of an e-commerce platform. This case design and implementation enables real-time statistics of the click volume of a mobile phone brand on an e-commerce platform and dynamic display of streaming data on the Web.

Keywords: Spark; Kafka; flow calculation
Published: October 23, 2023
DOI: 10.54254/2755-2721/15/20230832
Volume: ACE Vol.15
pp. 187-193
Download PDF

References

  1. Suo Hongsheng. Design and Research of Big Data Mining System Based on E-commerce Platform [J]. Internet Weekly, 2023 (06): 29-31
  2. Quan Zhaoheng, Li Jiadi. Innovation from Hadoop to Spark Technology [J]. Computer Knowledge and Technology, 2019, 15 (08): 265-268. DOI: 10.14004/j.cnki.ckt.2019.0823
  3. Meng Yunfei. Research on Key Technologies of Big Data Streaming Computing [J]. Heilongjiang Science, 2022,13 (14): 55-57
  4. Song Lingcheng. Comparative Analysis of Flink and Spark Streaming Streaming Computing Models [J]. Communication Technology, 2020,53 (01): 59-62
  5. Jiang Yongdu, Cheng Desheng, Zhao Zhiwu, Wang Li, Jiang Feng. Big Data Computing Platform Based on Spark Framework [J]. Network Security Technology and Application, 2020 (03): 65-66
  6. Wu Xindong, Ji Shengdong. Comparison of MapReduce and Spark for Big Data Analysis [J]. Journal of Software, 2018,29 (06): 1770-1791. DOI: 10.13328/j.cnki.jobs.005557
  7. Gao Zongbao, Liu Limei, Zhang Jiaming, Song Guoxing. Kafka Offset Reading Management and Design in the Park Platform [J]. Software, 2019,40 (07): 118-122
  8. Ye Huixian. The practice of Building a Data Center Processing Engine Based on Spark Streaming and Kafka [J]. Network Security Technology and Application, 2023 (03): 51-53
  9. Chen Jiafa, Huang Yujing. Application of Flask Framework in Data Visualization [J]. Fujian Computer, 2022,38 (12): 44-48. DOI: 10.16707/j.cnki.fjpc.2022.12.009
  10. Jing Guowei, Huang Dachi. Research on Data Visualization Based on ECharts [J]. Western Radio and Television, 2022,43 (20): 227-230+234