I was looking for how to kill a topology from a storm bolt in storm 1.2.1
in my scala project.
From this answer, I wrote following code to do it:
p
Based on the answer here, I was able to compile this in sbt using following scalac options:
"-Yresolve-term-conflict:object"
to get this compiled with maven, I did following changes in my pom.xml as suggested here:
<configuration>
<scalaVersion>${scala.version}</scalaVersion>
<args>
<arg>-Yresolve-term-conflict:object</arg> //this was added
</args>
<jvmArgs>
<jvmArg>-Xms2048m</jvmArg>
<jvmArg>-Xmx4096m</jvmArg>
</jvmArgs>
</configuration>