Agreed, the overhead of parsing the JSON to check on the flag is just
too much.
On 19/12/13 19:49, Nathan Leung wrote:
Just add a field to your tuple.
On Thu, Dec 19, 2013 at 1:46 PM, Pete Carlson <[email protected]
<mailto:[email protected]>> wrote:
To clarify my question, my bolt is scanning JSON and if it finds a
certain type I want to flag it so the next bolt downstream knows
it has to do some processing. Otherwise, it just will pass the
JSON through.
On Thu, Dec 19, 2013 at 1:45 PM, Pete Carlson
<[email protected] <mailto:[email protected]>> wrote:
Hi All,
Is there a way you can pass a flag with JSON in a bolt, so the
next bolt down stream knows it has to do some processing?
If so, can you provide me an example?
Or if there is another way to do this I'm open to ideas.
Pete
--
Pete Carlson
Software Developer
Tetra Concepts LLC
Cell: 301-526-0681 <tel:301-526-0681>