I am working with scala and scalaStorm for a project, I am currently using the velvia scalastorm library from github ( https://github.com/velvia/ScalaStorm ) and I am trying to enrich it. I want to add a security type to a stormtuple, which by default is all java Object. There are objects in the storm called bolts that take a tuple as input and output other tuples. I want to do something like this:
class StormBolt[T*][K*]{
}
Therefore, I can write directly:
class MyBolt[Int, Date, String][Int, String]{
}
I did not find anything that allowed me to do this in some way. I appreciate any advice in implementing such a feature! Adding type safety to the library would not be a shame! Thanks you
source
share