Skip to content

Commit

Permalink
More path fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
kbourgoin committed Aug 6, 2024
1 parent 78acb0e commit c12ddda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion doc/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ topology in pure Python using Thrift. For details see :ref:`topology_dsl`.
Let's have a look at the definition file created by using the
``sparse quickstart`` command.

.. literalinclude:: ../../streamparse/bootstrap/project/topologies/wordcount.py
.. literalinclude:: ../streamparse/bootstrap/project/topologies/wordcount.py
:language: python

In the ``count_bolt`` bolt, we've told Storm that we'd like the stream of
Expand Down
10 changes: 5 additions & 5 deletions doc/topologies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ Simple Python Example
The first step to putting together a topology, is creating the bolts and spouts,
so let's assume we have the following bolt and spout:

.. literalinclude:: ../../examples/redis/src/bolts.py
.. literalinclude:: ../examples/redis/src/bolts.py
:language: python
:lines: 1-28

.. literalinclude:: ../../examples/redis/src/spouts.py
.. literalinclude:: ../examples/redis/src/spouts.py
:language: python

One important thing to note is that we have added an ``outputs`` attribute to
Expand All @@ -51,7 +51,7 @@ objects.

Now let's hook up the bolt to read from the spout:

.. literalinclude:: ../../examples/redis/topologies/wordcount_mem.py
.. literalinclude:: ../examples/redis/topologies/wordcount_mem.py
:language: python

.. note::
Expand All @@ -72,7 +72,7 @@ The topology DSL fully supports JVM-based bolts and spouts via the
Here's an example of how we would use the
`Storm Kafka Spout <http://storm.apache.org/releases/current/storm-kafka.html>`_:

.. literalinclude:: ../../examples/kafka-jvm/topologies/pixelcount.py
.. literalinclude:: ../examples/kafka-jvm/topologies/pixelcount.py
:language: python

One limitation of the Thrift interface we use to send the topology to Storm is
Expand Down Expand Up @@ -127,7 +127,7 @@ attribute. The most common grouping is probably the
with the same value for the specified fields to the same executor. This can be
seen in the prototypical word count topology:

.. literalinclude:: ../../examples/redis/topologies/wordcount_mem.py
.. literalinclude:: ../examples/redis/topologies/wordcount_mem.py
:language: python


Expand Down

0 comments on commit c12ddda

Please sign in to comment.