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.)
- Host: GitHub
- URL: https://github.com/abo/storm-topologies
- Owner: abo
- Created: 2013-03-20T06:56:44.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-04-10T06:02:34.000Z (about 13 years ago)
- Last Synced: 2025-01-09T04:58:47.318Z (over 1 year ago)
- Language: Java
- Size: 2.44 MB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.