Testing Storm Bolts and Spouts

后端 未结 4 1089
天命终不由人
天命终不由人 2020-12-23 00:05

This is a general question regarding Unit Testing Bolts and Spouts in a Storm Topology written in Java.

What is the recommended practice and guideline for un

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-23 00:24

    Since version 0.8.1 Storm's unit testing facilities have been exposed via Java:

    • http://storm-project.net/2012/09/06/storm081-released.html

    For an example how to use this API have a look here:

    • https://github.com/xumingming/storm-lib/blob/master/src/jvm/storm/TestingApiDemo.java

提交回复
热议问题