ringmerge

Name

ringmerge -- Merge data from multiple rings into one ring.

Synopsis

ringmerge [options...]

DESCRIPTION

This program is a client of an arbitrary number of ringbuffers. It coalesces the data sent to these rings into a single output ring. No attempt is made to order the data. The data are output first seen first out.

OPTIONS>

-h, --help

Outputs a help message and exits.

-V, --version

Outputs the program version and then exits.

-o, --output=STRING

The value of this option specifies the name of the output ringbuffer. Since programs can only produce data for local ring buffers (remote clients can obtain data from ring buffers), this is a ring buffer name, not a URI.

This option is mandatory and can only occur once on the command line.

-i, --input=STRING

The value of this option is a URI for a ring buffer from which ringmerge will accept data. This option is mandatory and can be used several time on the command line to build up a list of ring buffers that will be merged into the output ringbuffer.

EXAMPLES


ringmerge --output merged --input=tcp://host1/ring1 --input=tcp://host2/ring2 
            

Merges data from the two rings; tcp://host1/ring1 and tcp://host2/ring2 into the ring buffer merged.