3

I'm very new at storm. I want to manage two topology which they need to inform about their status. Is it impossible that I understand status of topology is deactivated or not to submit another one in java class?

sahar shokouhi
  • 681
  • 2
  • 8
  • 15

1 Answers1

2

You can use the Thrift API:

  NimbusClient nimbusClient = NimbusClient.getConfiguredClient(Utils.readDefaultConfig())
  nimbusClient.getClient().getClusterInfo().get_topologies()
  …

See https://github.com/nathanmarz/storm/blob/master/storm-core/src/storm.thrift

Dilum Ranatunga
  • 13,254
  • 3
  • 41
  • 52
schiavuzzi
  • 764
  • 4
  • 9