Creating a "Hello World" topology
The "Hello World" topology, as with all "Hello World" applications, is of no real use to anyone, except to illustrate some really basic concepts. The "Hello World" topology will show how to create a Storm project including a simple spout and bolt, build it, and execute it in the local cluster mode.
How to do it…
- Create a new project folder and initialize your Git repository.
mkdir HelloWorld cd HelloWorld git init
- We must then create the Maven project file as follows:
vim, or any other text editor, you need to create the basic XML tags and project metadata for the "Hello World" project.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ...