SpeedLimiter

We assume that you have already learned what is described in:

If you want to find the right Other component for your purposes, see Others Comparison.

Short Summary

SpeedLimiter slows down data records going through it.

Component Same input metadata Sorted inputs Inputs Outputs Each to all outputs1) Java CTL
SpeedLimiter-no11-nyesnono

1) Component sends each data record to all connected output ports.

Abstract

SpeedLimiter receives data records through its single input port, delays each input record by a specified number of milliseconds and copies each input record to all connected output ports. Total delay does not depend on the number of output ports. It only depends on the number of input records.

Icon

Ports

Port typeNumberRequiredDescriptionMetadata
Input0yesFor input data recordsAny
Output0yesFor copied data recordsInput 01)
1-nnoFor copied data recordsInput 01)

Legend:

1): Unlike in SimpleCopy, metadata on the output must be the same as those on the input. All metadata must be the same. Metadata can be propagated through this component.

SpeedLimiter Attributes

AttributeReqDescriptionPossible values
Basic
DelayyesDelay of processing each input record in milliseconds. Total delay of parsing is equal to the this value multiplicated by the number of input records.0-N

Tips & Tricks

When using Speedlimiter, do not forget records are sent out from the component only after its buffer gets full (by default). Sometimes you might need to:

  1. send a record to Speedlimiter

  2. have it delayed by a specified amount of seconds

  3. send this very record to output ports immediately

In such case, you have to change settings of the edge outgoing from Speedlimiter to Direct fast propagate. See Types of Edges for more details.