colinsurprenant / redstorm

JRuby on Storm
Other
298 stars 56 forks source link

Tick tuple config not working #114

Closed benmoss closed 10 years ago

benmoss commented 10 years ago

I found @colinsurprenant's answer for how to implement the tick tuple here, but it no longer seems to work.

I just get org.jruby.exceptions.RaiseException: (NameError) uninitialized constant Java::BacktypeStorm::Config::TOPOLOGY_TICK_TUPLE_FREQ_SECS. I've tried to debug this and reflect on the class, and while it does seem to have some of the methods from the Java Config class, it is missing a lot. Not sure if this is just a limitation of JRuby's reflection, or what might be going on here.

Using RedStorm 0.6.6 and JRuby 1.7.13

colinsurprenant commented 10 years ago

hmm... not sure but this is maybe a version incompatibility, I don't remember with which version I tested this but it might have been with the 0.7.0.beta1. do you think you could test this with this version?

adamgotterer commented 10 years ago

I believe tick tuples weren't implemented until Storm 0.8.0

benmoss commented 10 years ago

Yep, that is exactly the problem @colinsurprenant. Works on 0.7.0-beta1.