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?
Asked
Active
Viewed 1,103 times
1 Answers
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
-
Thanks, but since it uses NimbusClient, can I test it in local system without any cluster? – sahar shokouhi Nov 19 '13 at 12:56
-
2@saharshokouhi Try it first! – Chiron Nov 19 '13 at 16:57