Streamparse is different in that the topology definition and submission aren't in a Java project, but it's still submitted to the same nimbus and workers as any other topology. Working with the storm.py packaged in Storm is pretty tricky and involves defining a bit in Java before it calls the Python. Streamparse offers a more Python-centric approach to managing your topology.
Also, streamparse supports components of any language, so you wouldn't be limited to a Python-only topology. Here's an example of a topology with both Python and Java bolts: https://github.com/Parsely/streamparse/tree/master/examples/kafka-jvm Cheers, Keith. On Mon, Jun 15, 2015 at 1:46 AM Rakeshsharma PR < [email protected]> wrote: > But the example shown was implying that we can run jobs of other > languages can be integrated to storm. > > The projects you mentioned are no interfacing in other languages but the > project itself is in python isn’t it. > > What I am talking about is the python jobs run by the workers/topology. > > > > Thanks > > rakesh > > > > *From:* Keith Bourgoin [mailto:[email protected]] > *Sent:* Friday, June 12, 2015 7:09 PM > *To:* [email protected] > *Subject:* Re: Using python in storm > > > > Hi there, > > I'm not sure where that example went, but if you're looking to use Python > in Storm, streamparse is an excellent option. > > > > There's also Pyleus, which was released not too long ago, but I'll confess > to being a bit biased since I'm a maintainer on streamparse. > > > > Streamparse: https://github.com/parsely/streamparse > > Pyleus: https://github.com/Yelp/pyleus > > > > Cheers, > > > > Keith. > > > > On Fri, Jun 12, 2015 at 9:33 AM Rakeshsharma PR < > [email protected]> wrote: > > I have seen an example in github, where for counting words, the random > text is split using python script “splitscentence.py”. > > But couldn’t find it in the src. I understand its being run as a process > in the shell and the output is being fetched can somebody explain how the > > Contents is being emitted to the Bolt. I have tried debugging but couldn’t > get it. > > > > Thanks > > rakesh > > > > > Please consider the environment before printing this e-mail > > > Disclaimer: This communication is for the exclusive use of the intended > recipient(s) and shall not attach any liability on the originator or ITC > Infotech India Ltd./its Holding company/ its Subsidiaries/ its Group > Companies. If you are the addressee, the contents of this e-mail are intended > for your use only and it shall not be forwarded to any third party, without > first obtaining written authorization from the originator or ITC Infotech > India Ltd./ its Holding company/its Subsidiaries/ its Group Companies. It > may contain information which is confidential and legally privileged and the > same shall not be used or dealt with by any third party in any manner > whatsoever without the specific consent of ITC Infotech India Ltd./ its > Holding company/ its Subsidiaries/ its Group Companies. > > > > > > > Please consider the environment before printing this e-mail > > > Disclaimer: This communication is for the exclusive use of the intended > recipient(s) and shall not attach any liability on the originator or ITC > Infotech India Ltd./its Holding company/ its Subsidiaries/ its Group > Companies. If you are the addressee, the contents of this e-mail are intended > for your use only and it shall not be forwarded to any third party, without > first obtaining written authorization from the originator or ITC Infotech > India Ltd./ its Holding company/its Subsidiaries/ its Group Companies. It > may contain information which is confidential and legally privileged and the > same shall not be used or dealt with by any third party in any manner > whatsoever without the specific consent of ITC Infotech India Ltd./ its > Holding company/ its Subsidiaries/ its Group Companies. >
