Trident hello world topology
This section explains how we can write a Trident hello world topology. Perform the following steps to create Trident hello world topology:
- Create a Maven project by using
com.stormadvance
as thegroupId
andstorm_trident
as theartifactId
. - Add the following dependencies and repositories to the
pom.xml
file:
<dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.storm</groupId> <artifactId>storm-core</artifactId> <version>1.0.2</version> <scope>provided</scope> </dependency> </dependencies>
- Create a
TridentUtility
class in acom.stormadvance...