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

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.

主站蜘蛛池模板: 沙坪坝区| 青铜峡市| 突泉县| 普兰店市| 武功县| 隆尧县| 双城市| 万载县| 潼南县| 砚山县| 永福县| 夏津县| 周口市| 池州市| 报价| 大石桥市| 四子王旗| 和硕县| 内丘县| 富蕴县| 雅江县| 蒙阴县| 江源县| 三都| 永登县| 华亭县| 丽江市| 景德镇市| 长乐市| 若羌县| 林西县| 大埔区| 乐安县| 楚雄市| 昌吉市| 寻甸| 额济纳旗| 新安县| 梁山县| 屯昌县| 兴宁市|