target-ready-2023 / datastreaming_team1

Target Ready - Spark/Scala - Team 1 - Kafka Data Streaming
1 stars 3 forks source link

fix appname for second spark session #4

Closed chaitukkd closed 1 year ago

chaitukkd commented 1 year ago

For each job, there will be only one SparkSession. Once it is created, it will not recreate another SparkSession although defined, unless you stop it, as I am doing here. SparkSession is used to execute all most all functionalities Spark Programming Language offers. Spend time on reading about SparkSession. You need to live with it for quite sometime from now on :)