-
Notifications
You must be signed in to change notification settings - Fork 126
/
build.sbt
30 lines (15 loc) · 832 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name := "spark-streaming-with-kafka"
version := "1.0"
scalaVersion := "2.11.12"
fork := true
libraryDependencies += "org.apache.spark" %% "spark-core" % "2.3.0"
libraryDependencies += "org.apache.spark" %% "spark-streaming" % "2.3.0"
libraryDependencies += "org.apache.spark" %% "spark-streaming-kafka-0-10" % "2.3.0"
// Needed for structured streams
libraryDependencies += "org.apache.spark" %% "spark-sql-kafka-0-10" % "2.3.0"
libraryDependencies += "org.apache.spark" %% "spark-sql" % "2.3.0"
libraryDependencies += "org.apache.kafka" %% "kafka" % "0.10.0.1"
//libraryDependencies += "info.batey.kafka" % "kafka-unit" % "0.7"
//libraryDependencies += "net.sf.jopt-simple" % "jopt-simple" % "5.0.2"
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.8.0"
scalacOptions += "-target:jvm-1.8"