How to debug Apache Storm in Local Cluster/Mode through eclipse

前端 未结 3 1673
猫巷女王i
猫巷女王i 2021-01-16 12:44

Using the following Q&A I managed to get debugging enabled through eclipse on an Apache Storm cluster (running locally). How to debug Apache Storm in Eclipse?

My

3条回答
  •  一个人的身影
    2021-01-16 13:19

    We can debug Storm Topology like any other java code in Eclipse. I launch my topology with in Eclipse itself using LocalCluster mode. I'm able to debug ShellBolts, Trident bolts etc.

    In addition I also have storm-core added as project in my Eclipse (instead of maven dependency), which enables me to debug and understand whats happening inside storm. Useful to better track Tuple acknowledgements, emit handlers, anchors, timeouts, exceptions etc.

提交回复
热议问题