An open API service indexing awesome lists of open source software.

https://github.com/abo/storm-topologies

Storm Topologies (ETL,WordCount,etc.)
https://github.com/abo/storm-topologies

Last synced: about 2 months ago
JSON representation

Storm Topologies (ETL,WordCount,etc.)

Awesome Lists containing this project

README

          

# Storm Topologies

## - Chinese Word Count

using [jieba](https://github.com/fxsjy/jieba) for segment.

### Run `WordCountTopology` in local mode, use this command:

```
mvn compile exec:java -Dexec.classpathScope=compile -Dexec.mainClass=com.trs.smas.storm.topology.WordCount
```

### Run `RollingTopWords` in local mode, use this command:
```
mvn compile exec:java -Dexec.classpathScope=compile -Dexec.mainClass=com.trs.smas.storm.topology.RollingTopWords
```

### Package a jar suitable for submitting to a cluster with this command:
```
mvn package
```

This will package your code and all the non-Storm dependencies into a single "uberjar" at the path `target/storm-topologies-{version}-jar-with-dependencies.jar`.