https://raw.githubusercontent.com/apache/storm/master/storm-core/src/jvm/org/apache/storm/generated/Nimbus.java has a method called getUserTopology which will return the topology object that was submitted.
On Wed, Jul 6, 2016 at 8:59 PM, Thomas Cooper (PGR) < [email protected]> wrote: > Hi, > > > I am working on modelling the performance of Storm topologies. The metrics > Storm provides are really useful, however I cannot see an easy way to > obtain the topology structure (the nodes and edges). > > > I know this must be possible as the topology structure is stored as a > thrift structure (as far as understand it) and is visualised in the UI, but > I cannot see an easy way for me to access this from a remote program (eg > via the thrift python api). I have looked at the UI source code (although I > will admit that my knowledge of JS is not brilliant) and the thrift > definitions for the api but nothing obvious jumps out at me? Is this even > possible? > > > Any help would be appreciated, I would like to avoid forking the storm > code and baking this in myself. > > > Cheers, > > > Thomas Cooper > PhD Student > Newcastle University, School of Computer Science > > -- Regards, Abhishek Agarwal
