官术网_书友最值得收藏!

Programming languages

Storm was designed from the ground up to be usable with any programming language. At the core of Storm is a thrift definition for defining and submitting topologies. Since thrift can be used in any language, topologies can be defined and submitted in any language.

Similarly, spouts and bolts can be defined in any language. Non-JVM spouts and bolts communicate with Storm over a JSON-based protocol over stdin/stdout. Adapters that implement this protocol exist for Ruby, Python, JavaScript, and Perl. You can refer to https://github.com/apache/storm/tree/master/storm-multilang to find out about the implementation of these adapters.

Storm-starter has an example topology, https://github.com/apache/storm/tree/master/examples/storm-starter/multilang/resources, which implements one of the bolts in Python.

主站蜘蛛池模板: 太仆寺旗| 临沭县| 扶风县| 广水市| 宾阳县| 兰州市| 德格县| 大埔县| 克东县| 西昌市| 西昌市| 远安县| 慈溪市| 铜梁县| 抚顺市| 中卫市| 连江县| 辽阳县| 阿克陶县| 古蔺县| 江津市| 井研县| 房产| 页游| 涪陵区| 伊金霍洛旗| 桐城市| 镇远县| 涿鹿县| 射阳县| 建始县| 瓦房店市| 永城市| 乐平市| 临沂市| 桐乡市| 大关县| 富蕴县| 贵溪市| 赤水市| 平凉市|