org.apache.storm.perf

## Class ConstSpoutOnlyTopo

- java.lang.Object
- - org.apache.storm.perf.ConstSpoutOnlyTopo

-     public class ConstSpoutOnlyTopo
      extends Object

  This topo helps measure how fast a spout can produce data (so no bolts are attached).

  Spout generates a stream of a fixed string.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `SPOUT_ID`
    `static String` | `TOPOLOGY_NAME`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConstSpoutOnlyTopo()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `main(String[] args)` ConstSpout only topology (No bolts).

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### TOPOLOGY_NAME

          public static final String TOPOLOGY_NAME

      See Also:
        Constant Field Values

    - #### SPOUT_ID

          public static final String SPOUT_ID

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### ConstSpoutOnlyTopo

          public ConstSpoutOnlyTopo()

  - ### Method Detail

    - #### main

          public static void main(String[] args)
                           throws Exception

      ConstSpout only topology (No bolts).

      Throws:
        `Exception`

Copyright © 2019 The Apache Software Foundation. All rights reserved.