Skip to content

Troubleshooting a punchlet

Start a topology in a terminal

There are two ways to start a topology : submit it to a shiva or storm cluster, or execute it in foreground.

To debug a punchlet itself embedded inside a punchline, it is useful to start the punchline in foreground and immediately see the logs in your terminal.

punchlinectl <punchline>.yml


the punchlines can be in yml json or hjson format.

You can print the content of an object in a punchlet by adding this line :

anywhere you need in your punchlet. Once done, Ctrl-C and restart your punchline.