Package 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
  Description
  `static final String`
  `SPOUT_ID`
  `static final String`
  `TOPOLOGY_NAME`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ConstSpoutOnlyTopo()`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### 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 Details

  - ### ConstSpoutOnlyTopo

    public ConstSpoutOnlyTopo()

- ## Method Details

  - ### main

    public static void main(String[] args) throws Exception
    ConstSpout only topology (No bolts).
    Throws:
      `Exception`