-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathbuild.sbt
64 lines (49 loc) · 2.03 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name := "spark-streaming"
version := "0.1"
scalaVersion := "2.12.10"
val sparkVersion = "3.0.2"
val postgresVersion = "42.2.2"
val cassandraConnectorVersion = "3.0.0" // preview version at the moment of writing (July 7, 2020)
val akkaVersion = "2.5.24"
val akkaHttpVersion = "10.1.7"
val twitter4jVersion = "4.0.7"
val kafkaVersion = "2.4.0"
val log4jVersion = "2.4.1"
val nlpLibVersion = "3.5.1"
resolvers ++= Seq(
"bintray-spark-packages" at "https://dl.bintray.com/spark-packages/maven",
"Typesafe Simple Repository" at "https://repo.typesafe.com/typesafe/simple/maven-releases",
"MavenRepository" at "https://mvnrepository.com"
)
/*
Beware that if you're working on this repository from a work computer,
corporate firewalls might block the IDE from downloading the libraries and/or the Docker images in this project.
*/
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % sparkVersion,
"org.apache.spark" %% "spark-sql" % sparkVersion,
// streaming
"org.apache.spark" %% "spark-streaming" % sparkVersion,
// streaming-kafka
"org.apache.spark" % "spark-sql-kafka-0-10_2.12" % sparkVersion,
// low-level integrations
"org.apache.spark" %% "spark-streaming-kafka-0-10" % sparkVersion,
// akka
"com.typesafe.akka" %% "akka-remote" % akkaVersion,
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"com.datastax.spark" %% "spark-cassandra-connector" % cassandraConnectorVersion,
// postgres
"org.postgresql" % "postgresql" % postgresVersion,
// twitter
"org.twitter4j" % "twitter4j-core" % twitter4jVersion,
"org.twitter4j" % "twitter4j-stream" % twitter4jVersion,
// logging
"org.apache.logging.log4j" % "log4j-api" % log4jVersion,
"org.apache.logging.log4j" % "log4j-core" % log4jVersion,
"edu.stanford.nlp" % "stanford-corenlp" % nlpLibVersion,
"edu.stanford.nlp" % "stanford-corenlp" % nlpLibVersion classifier "models",
// kafka
"org.apache.kafka" %% "kafka" % kafkaVersion,
"org.apache.kafka" % "kafka-streams" % kafkaVersion
)