浏览代码

Add an official image for Apache Storm

Elisey Zanko 9 年之前
父节点
当前提交
81d5cc2864
共有 4 个文件被更改,包括 31 次插入0 次删除
  1. 1 0
      storm/README-short.txt
  2. 29 0
      storm/content.md
  3. 1 0
      storm/license.md
  4. 二进制
      storm/logo.png

+ 1 - 0
storm/README-short.txt

@@ -0,0 +1 @@
+Apache Storm is a free and open source distributed realtime computation system.

+ 29 - 0
storm/content.md

@@ -0,0 +1,29 @@
+# What is Apache Storm?
+
+Apache Storm is a distributed computation framework written predominantly in the Clojure programming language. Originally created by Nathan Marz and team at BackType, the project was open sourced after being acquired by Twitter. It uses custom created "spouts" and "bolts" to define information sources and manipulations to allow batch, distributed processing of streaming data. The initial release was on 17 September 2011.
+
+> [wikipedia.org/wiki/Storm_(event_processor)](https://en.wikipedia.org/wiki/Storm_(event_processor))
+
+%%LOGO%%
+
+# How to use this image
+
+## Setting up a Storm Cluster
+
+1. Start Zookeeper
+
+        $ docker run -d --name zookeeper jplock/zookeeper:3.4.8
+
+2. Start Nimbus
+
+        $ docker run -d --name nimbus --net container:zookeeper 31z4/storm:1.0.0 nimbus
+
+3. Start Supervisor
+
+        $ docker run -d --name supervisor --net container:nimbus 31z4/storm:1.0.0 supervisor
+
+## Running Topologies
+
+Assuming you set up a Storm cluster as written above and have `storm-starter-topologies-1.0.0.jar` in your current directory.
+
+    $ docker run -it --net container:nimbus -v $(pwd)/storm-starter-topologies-1.0.0.jar:/topology.jar storm:1.0.0 jar /topology.jar org.apache.storm.starter.WordCountTopology topology

+ 1 - 0
storm/license.md

@@ -0,0 +1 @@
+View [license information](http://storm.apache.org/about/free-and-open-source.html) for the software contained in this image.

二进制
storm/logo.png