Skip to content

Troubleshooting a punchlet

Start a topology in a terminal

There is two way to start a topology :

  • In a cluster to have resiliency
  • In local

To debug a topology, it is useful to start a topology in local and in foreground,

1
$ punchplatform-topology.sh <topology>.json

To debug a punchlet

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

1
print(root);

Then start in foreground the topology.