Create a new bolt extends BaseRichBolt, pass xml path to a constructor,
 open the xml file in the prepare method and proccess it in execute method.


2014-01-27 Supun Kamburugamuva <[email protected]>

> Here are some examples of storm. You may find these useful.
>
> https://github.com/nathanmarz/storm-starter
>
> Regards,
> Supun..
>
>
> On Sun, Jan 26, 2014 at 11:50 PM, sowmiya kandasamy <
> [email protected]> wrote:
>
>>
>> Can you please give  some tutorial/sample codes or any helpful
>> documentation?
>> We are very new to storm
>>
>>
>> Thanks,
>> Sowmiya
>>
>> ------------------------------
>> Date: Fri, 24 Jan 2014 17:46:03 +0530
>> Subject: Re: Process xml file in storm using SAX parser
>> From: [email protected]
>> To: [email protected]
>>
>>
>> Hi,
>>
>> Storm bolts would be the ideal place to handle the SAX parsing in your
>> case.You can pass the xml file location as a tuple to the Bolt from your
>> Spout and in the execute method of your Bolt you can write your custom
>> logic to do the desired SAX parsing.
>>
>> Thanks
>> Bijoy
>>
>>
>> On Fri, Jan 24, 2014 at 5:30 PM, sowmiya kandasamy <
>> [email protected]> wrote:
>>
>>  Hi All
>>
>>
>> Is it possible to process xml file in storm using SAX parser. I have
>> installed with storm version9.I want process big xml file and process some
>> parts of information and store it into another xml files.
>>
>> If it is possible, where can i get some tutorial/sample codes or any
>> helpful documentation?
>>
>>
>>
>>
>> Please help to move into further
>>
>>
>> Thanks,
>>
>> Sowmiya
>>
>>
>>
>
>
> --
> Supun Kamburugamuva
> Member, Apache Software Foundation; http://www.apache.org
> E-mail: [email protected];  Mobile: +1 812 369 6762
> Blog: http://supunk.blogspot.com
>
>

Reply via email to