In this post , we will look at fixing Kafka Spark Streaming Scala Python Java Version Compatible issue . Software compatibility is one of the major painpoint while setting up a project which further leads to frequent issues .
We have tried to compile some write-ups as regards to some of the version compatibility followed by some Example Working Combinations which you can try. If you are setting up a new Big Data project involving Spark, Kafka , Spark Streaming , Scala,, Python etc. , we suggest you to go through all the pointers below to note and cross-check your set-ups.
./bin/spark-submit \\
--packages org.apache.spark:spark-sql-kafka-0-10\_2.11:2.4.1 \\
--jars spark-sql-kafka-0-10\_2.11-2.4.1.jar,kafka-clients-0.10.1.0.jar,postgresql-42.2.10.jar \\
spark.py \\
localhost:9092 subscribe <TOPIC>
sparkVersion = "2.1.0"
"org.apache.spark" %% "spark-core" % sparkVersion21,
"org.apache.spark" %% "spark-sql" % sparkVersion21,
"org.apache.spark" %% "spark-hive" % sparkVersion21,
"org.apache.spark" %% "spark-yarn" % sparkVersion21,
"org.apache.kafka" % "kafka-clients" % "2.4.0",
"org.apache.kafka" %% "kafka" % "2.4.0",
"org.apache.kafka" % "kafka-streams" % "2.4.0")
kafka compatibility, spark structured streaming + kafka, spark-streaming-kafka maven, spark kafka direct stream example, spark streaming-kafka tutorial , spark-kafka consumer, spark-streaming-kafka-0-10, spark-sql-kafka, Kafka Spark Scala Cassandra Compatible Versions,
kafka, apache kafka, Hadoop, spark, spark structured streaming, spark-streaming, Scala, Python, spark streaming kafka, kafka spark, spark structured streaming kafka, kafka and spark, kafka streaming python, spark streaming kafka example, spark streaming, spark structured streaming, spark streaming kafka, spark kafka, structured streaming, apache spark streaming, spark structured streaming kafka, spark streaming kafka example, pyspark streaming, spark readstream, kafka streaming python, scala streaming