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

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.

主站蜘蛛池模板: 边坝县| 福海县| 边坝县| 宁晋县| 德惠市| 高尔夫| 天柱县| 临沂市| 瑞昌市| 江永县| 武强县| 礼泉县| 正阳县| 壶关县| 龙里县| 汤原县| 柘荣县| 河间市| 惠水县| 大化| 长宁县| 密山市| 台东县| 修武县| 元谋县| 女性| 泰和县| 大姚县| 外汇| 鸡西市| 汪清县| 安西县| 家居| 军事| 梁河县| 洛扎县| 宝兴县| 大埔县| 永平县| 长岛县| 佳木斯市|