You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Sergio Fernández <wi...@apache.org> on 2015/07/09 17:34:27 UTC
walk through a graph with trident
Hi,
I have to solve a problem that I though would be easier with Storm, but it
has revealed not that...
I'd need to walk through a graph, starting from a concrete arc, processing
each node and then continue walking to all arcs, processing until no new
arcs appear. The status of the graph is unknown when I start walking.
The question is that I expected to be able to push to the original field of
the spout the new outbound arcs I find, and then re-process each new node
again in the topology. But that does not work, I got a "duplicate field"
exception.
So, I'd like to ask, is there any topology pattern for such kind of
recurrent processing?
Thanks in advance.
Cheers,
--
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 6602747925
e: sergio.fernandez@redlink.co
w: http://redlink.co
Re: walk through a graph with trident
Posted by Sergio Fernández <se...@redlink.co>.
I think I'm looking for something with a similar behavior than
the FeederBatchSpout, but looks that spout is just for testing purposes and
there is not that much documentation.
Anybody does know any way to such recurrent pattern on fields?
BTW, I'm the single one who misses javadoc when a something is not
explained in the main documentation?
Thanks in advance.
On Thu, Jul 9, 2015 at 5:34 PM, Sergio Fernández <wi...@apache.org> wrote:
> Hi,
>
> I have to solve a problem that I though would be easier with Storm, but it
> has revealed not that...
>
> I'd need to walk through a graph, starting from a concrete arc, processing
> each node and then continue walking to all arcs, processing until no new
> arcs appear. The status of the graph is unknown when I start walking.
>
> The question is that I expected to be able to push to the original field
> of the spout the new outbound arcs I find, and then re-process each new
> node again in the topology. But that does not work, I got a "duplicate
> field" exception.
>
> So, I'd like to ask, is there any topology pattern for such kind of
> recurrent processing?
>
> Thanks in advance.
>
> Cheers,
>
> --
> Sergio Fernández
> Partner Technology Manager
> Redlink GmbH
> m: +43 6602747925
> e: sergio.fernandez@redlink.co
> w: http://redlink.co
>
--
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 6602747925
e: sergio.fernandez@redlink.co
w: http://redlink.co