Hi all,

I am trying to write an Amazon Kinesis consumer Scala app that processes
data in the
Kinesis stream. Is this the correct way to specify *build.sbt*:

-------
*import AssemblyKeys._*
*name := "Kinesis Consumer"*






*version := "1.0"organization := "com.myconsumer"scalaVersion :=
"2.11.5"libraryDependencies ++= Seq("org.apache.spark" % "spark-core_2.10"
% "1.3.0" % "provided","org.apache.spark" % "spark-streaming_2.10" %
"1.3.0""org.apache.spark" % "spark-streaming-kinesis-asl_2.10" % "1.3.0")*



*assemblySettingsjarName in assembly :=
 "consumer-assembly.jar"assemblyOption in assembly := (assemblyOption in
assembly).value.copy(includeScala=false)*
--------

In *project/assembly.sbt* I have only the following line:

*addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.13.0")*

I am using sbt 0.13.7. I adapted Example 7.7 in the Learning Spark book.

Thanks,
Vadim

ᐧ

Reply via email to