<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Can I write a storm topology with Phython? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-I-write-a-storm-topology-with-Phython/m-p/233200#M75253</link>
    <description>&lt;P&gt;I know that it sounds a bit crazy, but I am a data scientist &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; and also my preferred language is still Python. I use it with Spark, but I will like to be able to implement some smart models within a Storm topology. We did not adopt Spark streaming and Storm is still working best with Kafka. Any pointers on how to start this?&lt;/P&gt;</description>
    <pubDate>Sat, 03 Mar 2018 08:18:56 GMT</pubDate>
    <dc:creator>demerovb</dc:creator>
    <dc:date>2018-03-03T08:18:56Z</dc:date>
    <item>
      <title>Can I write a storm topology with Phython?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-I-write-a-storm-topology-with-Phython/m-p/233200#M75253</link>
      <description>&lt;P&gt;I know that it sounds a bit crazy, but I am a data scientist &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; and also my preferred language is still Python. I use it with Spark, but I will like to be able to implement some smart models within a Storm topology. We did not adopt Spark streaming and Storm is still working best with Kafka. Any pointers on how to start this?&lt;/P&gt;</description>
      <pubDate>Sat, 03 Mar 2018 08:18:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-I-write-a-storm-topology-with-Phython/m-p/233200#M75253</guid>
      <dc:creator>demerovb</dc:creator>
      <dc:date>2018-03-03T08:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can I write a storm topology with Phython?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-I-write-a-storm-topology-with-Phython/m-p/233201#M75254</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14469/demerovb.html" nodeid="14469"&gt;@Boris Demerov&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I guess we are both data scientists. &lt;/P&gt;&lt;P&gt;Storm comes with Python and Ruby.&lt;/P&gt;&lt;P&gt;The right place to start is src/storm.thrift. Since Storm topologies are
 just Thrift structures, and Nimbus is a Thrift daemon, you can create 
and submit topologies in any language. Here's a specification of the protocol: &lt;A href="http://storm.apache.org/releases/current/Multilang-protocol.html"&gt;Multilang protocol&lt;/A&gt;. The thrift structure lets you define multilang components explicitly
 as a program and a script, e.g., python and the file implementing your 
bolt. Multilang uses json messages over stdin/stdout to communicate with the sub-process.&lt;/P&gt;&lt;P&gt; Python supports emitting, anchoring, acking, and logging. Storm "shell" command makes constructing jar and uploading to nimbus easy. &lt;/P&gt;&lt;P&gt;Here is a good reference: &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/hdinsight/storm/apache-storm-develop-python-topology" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/hdinsight/storm/apache-storm-develop-python-topology&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Mar 2018 08:26:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-I-write-a-storm-topology-with-Phython/m-p/233201#M75254</guid>
      <dc:creator>janebec</dc:creator>
      <dc:date>2018-03-03T08:26:39Z</dc:date>
    </item>
  </channel>
</rss>

