how to create data frame from kafka topic for the webserver logs in pyspark structured streaming?

前端 未结 0 1792
盖世英雄少女心
盖世英雄少女心 2021-02-01 02:59

I am trying to parse webserver logs from kafka topic. Below is the script

from pyspark import SparkContext
from pyspark.sql import SparkSession


print("Kafk         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题