Splitter Routing Block

Table 1.
Type
splitter
This block will receive data on a single input port and send that data on to any number of output ports specified by the output_count field. Its configuration fields are as follows:
Table 2.
FieldTypeRequiredDefault
output_countIntegeryes
log_levelString'off'
log_nameString<block_name>

output_count

The output_count field determines how many output ports will be created for this block. The block’s output ports are named "output#” where “#” is a number starting at 1. The ‘mappings’ section in the example shows these output port names.

log_level and log_name

For details about the log_level and log_name fields, see Generic CDP Blocks.

Example

The following is a sample configuration file that includes this block.
{
	"blocks": {
		"input_block": {
			"type": "dummy",
			"config": { "field": "value" }
		},
		"splitter": {
			"type": "splitter",
			"config": {
				"output_count": 3
			}
		},
		"out_block1": {
			"type": "dummy",
			"config": { "field": "value" }
		},
		"out_block2": {
			"type": "dummy",
			"config": { "field": "value" }
		},
		"out_block3": {
			"type": "dummy",
			"config": { "field": "value" }
		}
	},
	"mappings": {
		"input_block:output":"splitter:input",
		"splitter:output1":"out_block1:input",
		"splitter:output2":"out_block2:input",
		"splitter:output3":"out_block3:input"
	}
}