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:

  1. Create a Maven project by using com.stormadvance as the groupId and storm_trident as the artifactId.
  2. 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> 
  1. Create a TridentUtility class in a com.stormadvance.storm_trident package. This class contains the ...

Get Mastering Apache Storm now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.