colinsurprenant / redstorm

JRuby on Storm
Other
298 stars 56 forks source link

fix dependencies doc for example kafka topology #79

Closed colinsurprenant closed 11 years ago

colinsurprenant commented 11 years ago

the inline doc reference the old dependencies file format.

colinsurprenant commented 11 years ago

this dependency should work:

create file ivy/topology_dependencies.xml with the following:

<?xml version="1.0"?>
<ivy-module version="2.0">
  <info organisation="redstorm" module="topology-deps"/>
  <dependencies>
    <dependency org="org.jruby" name="jruby-core" rev="1.7.4" conf="default" transitive="true"/>
    <dependency org="org.scala-lang" name="scala-library" rev="2.8.0" conf="default" transitive="false"/>
    <dependency org="storm" name="kafka" rev="0.7.0-incubating" conf="default" transitive="false"/>
    <dependency org="storm" name="storm-kafka" rev="0.8.0-wip4" conf="default" transitive="false"/>
  </dependencies>
</ivy-module>

I haven't checked if the kafka/scala have been updated, will verify and test shortly.

colinsurprenant commented 11 years ago

after verification, this last one is a working dependency for storm-kafka for RedStorm 0.6.5 with Storm 0.8.2. Note that JRuby 1.7.4 is included here, you may have to edit that to match your local JRuby installed version.