storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias J. Sax" <>
Subject Re: Global variable in storm
Date Mon, 07 Dec 2015 09:54:50 GMT

a globally shared state is not supported by Storm. This is true, for
many (maybe even all?) large-scale distributed systems, because a shared
global stated does not scale!

However, if you just want to know the number of processed tuples, you do
not need a globally shared state. Actually, Storm's UI maintains
counters and you can also access those counters in your application via

> Client.getTopologyInfo("topology-id");


On 12/07/2015 09:37 AM, Gaurav Agarwal wrote:
> Hello
> I am running my topology across multiple nodes in cluster. Can we have
> something in storm that helps us to maintain global context variable
> across multiple nodes . So I can maintain topology has processed how
> many tuples.

View raw message