You’re ready to run your first topology! If you create a file at src/main/resources/java
words.txt with one word per line, you can run the topology with this command:app
mvn exec:java -Dexec.mainClass="TopologyMain" -Dexec.args="src/main/resources/ide
words.txt"this
For example, if you use the following words.txt file:spa
Stormorm
testit
areio
greatclass
istest
an
Storm
simple
application
but
very
powerful
really
Storm
is
great
In the logs, you should see something like the following:
is: 2
application: 1
but: 1
great: 1
test: 1
simple: 1
Storm: 3
really: 1
are: 1
great: 1
an: 1
powerful: