Element Summary

ElementDescriptionClass
allThe stream iscom.hmsonline.storm.osgi.subscription.AllDistribution
basicBoltA basic configurable bolt.com.hmsonline.storm.osgi.bolt.BasicBoltDefinition
basicSpoutImplements a basiccom.hmsonline.storm.osgi.spout.BasicSpoutDefinition
boltThe parent definition for bolts, it should be subclassed to make it easier to assign a tag configuration for each implementation.com.hmsonline.storm.osgi.bolt.BoltDefinition
fieldSetThe stream iscom.hmsonline.storm.osgi.subscription.FieldSetDistribution
globalThe entire streamcom.hmsonline.storm.osgi.subscription.GlobalDistribution
localOrShuffleIf the target boltcom.hmsonline.storm.osgi.subscription.LocalOrShuffleDistribution
noneThis is a special kind ofcom.hmsonline.storm.osgi.subscription.DirectDistribution
pollingSpoutA Spout which will call it'scom.hmsonline.storm.osgi.spout.PollingSpoutDefinition
propertiesProperties for configuring a topology.com.hmsonline.storm.osgi.impl.TopologyProperties
shellBoltA bolt that can be configured to run a shell command.com.hmsonline.storm.osgi.bolt.ShellBoltDefinition
shuffleTuples are randomlycom.hmsonline.storm.osgi.subscription.ShuffleDistribution
spoutcom.hmsonline.storm.osgi.spout.SpoutDefinition
streamcom.hmsonline.storm.osgi.tuple.TupleStream
subscribesRepresents thecom.hmsonline.storm.osgi.topology.Subscription
topologyRepresents the definition of a Storm topologycom.hmsonline.storm.osgi.topology.TopologyDefinition

Element Detail

Element: all

Element: basicBolt

AttributeTypeDescription
debugxs:booleanWhen set to true, Storm will log every message that's emitted.
maxSpoutPendingxs:integerThe maximum number of tuples that can be pending on a spout task at any given time. This config applies to individual tasks, not to spouts or topologies as a whole. A pending tuple is one that has been emitted from a spout but has not been acked or failed yet. Note that this config parameter has no effect for unreliable spouts that don't tag their tuples with a message id.
maxTaskParallelismxs:integerThe maximum parallelism allowed for a component in this topology. This configuration is typically used in testing to limit the number of threads spawned in local mode.
namexs:stringThe name of this component.
numTasksxs:integerHow many instances to create for a spout/bolt. A task runs on a thread with zero or more other tasks for the same spout/bolt. The number of tasks for a spout/bolt is always the same throughout the lifetime of a topology, but the number of executors (threads) for a spout/bolt can change over time. This allows a topology to scale to more or less resources without redeploying the topology or violating the constraints of Storm (such as a fields grouping guaranteeing that the same value goes to the same task).
ElementTypeDescription
executor<spring:bean/>
parallelismHint<spring:bean/>The initial number of executors (threads) this component should have.
schema(<spring:bean/>)*The set of fields output by this component.
subscriptionsubscribesThe details of what this bolt is subscribed to.

Element: basicSpout

AttributeTypeDescription
debugxs:booleanWhen set to true, Storm will log every message that's emitted.
maxSpoutPendingxs:integerThe maximum number of tuples that can be pending on a spout task at any given time. This config applies to individual tasks, not to spouts or topologies as a whole. A pending tuple is one that has been emitted from a spout but has not been acked or failed yet. Note that this config parameter has no effect for unreliable spouts that don't tag their tuples with a message id.
maxTaskParallelismxs:integerThe maximum parallelism allowed for a component in this topology. This configuration is typically used in testing to limit the number of threads spawned in local mode.
namexs:stringThe name of this component.
numTasksxs:integerHow many instances to create for a spout/bolt. A task runs on a thread with zero or more other tasks for the same spout/bolt. The number of tasks for a spout/bolt is always the same throughout the lifetime of a topology, but the number of executors (threads) for a spout/bolt can change over time. This allows a topology to scale to more or less resources without redeploying the topology or violating the constraints of Storm (such as a fields grouping guaranteeing that the same value goes to the same task).
ElementTypeDescription
parallelismHint<spring:bean/>The initial number of executors (threads) this component should have.
schema(<spring:bean/>)*The set of fields output by this component.
source<spring:bean/>

Element: bolt

AttributeTypeDescription
debugxs:booleanWhen set to true, Storm will log every message that's emitted.
maxSpoutPendingxs:integerThe maximum number of tuples that can be pending on a spout task at any given time. This config applies to individual tasks, not to spouts or topologies as a whole. A pending tuple is one that has been emitted from a spout but has not been acked or failed yet. Note that this config parameter has no effect for unreliable spouts that don't tag their tuples with a message id.
maxTaskParallelismxs:integerThe maximum parallelism allowed for a component in this topology. This configuration is typically used in testing to limit the number of threads spawned in local mode.
namexs:stringThe name of this component.
numTasksxs:integerHow many instances to create for a spout/bolt. A task runs on a thread with zero or more other tasks for the same spout/bolt. The number of tasks for a spout/bolt is always the same throughout the lifetime of a topology, but the number of executors (threads) for a spout/bolt can change over time. This allows a topology to scale to more or less resources without redeploying the topology or violating the constraints of Storm (such as a fields grouping guaranteeing that the same value goes to the same task).
ElementTypeDescription
executor<spring:bean/>
parallelismHint<spring:bean/>The initial number of executors (threads) this component should have.
schema(<spring:bean/>)*The set of fields output by this component.
subscriptionsubscribesThe details of what this bolt is subscribed to.

Element: fieldSet

ElementTypeDescription
fields(<spring:bean/>)*

Element: global

Element: localOrShuffle

Element: none

Element: pollingSpout

AttributeTypeDescription
debugxs:booleanWhen set to true, Storm will log every message that's emitted.
intervalxs:integer
maxSpoutPendingxs:integerThe maximum number of tuples that can be pending on a spout task at any given time. This config applies to individual tasks, not to spouts or topologies as a whole. A pending tuple is one that has been emitted from a spout but has not been acked or failed yet. Note that this config parameter has no effect for unreliable spouts that don't tag their tuples with a message id.
maxTaskParallelismxs:integerThe maximum parallelism allowed for a component in this topology. This configuration is typically used in testing to limit the number of threads spawned in local mode.
namexs:stringThe name of this component.
numTasksxs:integerHow many instances to create for a spout/bolt. A task runs on a thread with zero or more other tasks for the same spout/bolt. The number of tasks for a spout/bolt is always the same throughout the lifetime of a topology, but the number of executors (threads) for a spout/bolt can change over time. This allows a topology to scale to more or less resources without redeploying the topology or violating the constraints of Storm (such as a fields grouping guaranteeing that the same value goes to the same task).
ElementTypeDescription
parallelismHint<spring:bean/>The initial number of executors (threads) this component should have.
schema(<spring:bean/>)*The set of fields output by this component.
source<spring:bean/>
unit<spring:bean/>

Element: properties

AttributeTypeDescription
debugxs:booleanWhen set to true, Storm will log every message that's emitted.
ElementTypeDescription
workers<spring:bean/>How many processes should be spawned around the cluster to execute this topology. Each process will execute some number of tasks as threads within them. This parameter should be used in conjunction with the parallelism hints on each component in the topology to tune the performance of a topology.

Element: shellBolt

AttributeTypeDescription
debugxs:booleanWhen set to true, Storm will log every message that's emitted.
maxSpoutPendingxs:integerThe maximum number of tuples that can be pending on a spout task at any given time. This config applies to individual tasks, not to spouts or topologies as a whole. A pending tuple is one that has been emitted from a spout but has not been acked or failed yet. Note that this config parameter has no effect for unreliable spouts that don't tag their tuples with a message id.
maxTaskParallelismxs:integerThe maximum parallelism allowed for a component in this topology. This configuration is typically used in testing to limit the number of threads spawned in local mode.
namexs:stringThe name of this component.
numTasksxs:integerHow many instances to create for a spout/bolt. A task runs on a thread with zero or more other tasks for the same spout/bolt. The number of tasks for a spout/bolt is always the same throughout the lifetime of a topology, but the number of executors (threads) for a spout/bolt can change over time. This allows a topology to scale to more or less resources without redeploying the topology or violating the constraints of Storm (such as a fields grouping guaranteeing that the same value goes to the same task).
ElementTypeDescription
command(<spring:bean/>)*
executor<spring:bean/>
parallelismHint<spring:bean/>The initial number of executors (threads) this component should have.
schema(<spring:bean/>)*The set of fields output by this component.
subscriptionsubscribesThe details of what this bolt is subscribed to.

Element: shuffle

Element: spout

AttributeTypeDescription
debugxs:booleanWhen set to true, Storm will log every message that's emitted.
maxSpoutPendingxs:integerThe maximum number of tuples that can be pending on a spout task at any given time. This config applies to individual tasks, not to spouts or topologies as a whole. A pending tuple is one that has been emitted from a spout but has not been acked or failed yet. Note that this config parameter has no effect for unreliable spouts that don't tag their tuples with a message id.
maxTaskParallelismxs:integerThe maximum parallelism allowed for a component in this topology. This configuration is typically used in testing to limit the number of threads spawned in local mode.
namexs:stringThe name of this component.
numTasksxs:integerHow many instances to create for a spout/bolt. A task runs on a thread with zero or more other tasks for the same spout/bolt. The number of tasks for a spout/bolt is always the same throughout the lifetime of a topology, but the number of executors (threads) for a spout/bolt can change over time. This allows a topology to scale to more or less resources without redeploying the topology or violating the constraints of Storm (such as a fields grouping guaranteeing that the same value goes to the same task).
ElementTypeDescription
parallelismHint<spring:bean/>The initial number of executors (threads) this component should have.
schema(<spring:bean/>)*The set of fields output by this component.
source<spring:bean/>

Element: stream

AttributeTypeDescription
idxs:string
ElementTypeDescription
schema(<spring:bean/>)*

Element: subscribes

AttributeTypeDescription
toxs:string
ElementTypeDescription
distributionall | fieldSet | global | localOrShuffle | none | shuffle
streamstream

Element: topology

AttributeTypeDescription
namexs:string
ElementTypeDescription
bolts(<spring:bean/>)*
configurationproperties
spouts(<spring:bean/>)*