例子需求: spout:向后端发送{"sentence":"my dog has fleas"}.一般要连数据源,此处简化写死了. 语句分割bolt(SplitSentenceBolt):订阅spout发送的tuple.每收到一个tuple,bolt会获取"sentence"对应值域的值,然后分割为一个个的单词.最后,每个单词向后发送1个tuple: {"word":"my"} {"word&qu…
java.lang.NoClassDefFoundError: backtype/storm/topology/IRichSpout at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.privateGetMethodRecursive(Class.java:3048) at ja…