storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stig Rohde Døssing <s...@apache.org>
Subject Re: Can I emit a Map?
Date Tue, 21 Nov 2017 18:23:37 GMT
I think that as long as you ensure that everything in the map can be
serialized, it's fine.

2017-11-21 18:31 GMT+01:00 Marco Costantini <mcsilvio@gmail.com>:

> I have a batching bolt which ultimately makes a Map<String, Set<String>>.
> At a time I decide, I need to emit that map to the next bolt in the
> topology. I've tried it and it works, but I'm curious as to whether this is
> an anti-pattern or if there are problems with doing this that I am unaware
> of.
>
> Please and thanks,
> Marco.
>

Mime
View raw message