How to build and Run Storm Topology within Intellij IDEA

后端 未结 2 948
暗喜
暗喜 2021-02-04 18:22

I followed Storm Starter instructions and imported Twitter Storm in IntelliJ. For sake of testing I edited ExclaimationToplogy a bit and used following Maven command to

2条回答
  •  清歌不尽
    2021-02-04 19:01

    1. Follow the steps in storm-starter's: Using storm-starter with IntelliJ IDEA
    2. Open Maven's pom.xml file and remove provided line from storm dependency. This enables IntelliJ to compile storm dependency on build.
    3. Go to /src/jvm/storm/starter/, right click on ExclamationTopology file and Run 'ExclamationTop....main()'

提交回复
热议问题