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

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.

主站蜘蛛池模板: 茶陵县| 酉阳| 博湖县| 镇原县| 延寿县| 天津市| 平乐县| 河北省| 临海市| 万山特区| 开鲁县| 夏邑县| 陇川县| 托克托县| 长汀县| 聂拉木县| 丰原市| 康马县| 隆子县| 阿合奇县| 宽甸| 会东县| 姚安县| 轮台县| 息烽县| 江门市| 汝阳县| 安吉县| 政和县| 阿拉善右旗| 淳安县| 阳曲县| 游戏| 平湖市| 香格里拉县| 会泽县| 五常市| 仁布县| 绥棱县| 乐山市| 兰溪市|