Streams Via Config Files
When running Wombat in streams
mode it’s possible to create streams with their own static configurations, simply
list one or more files after the streams
subcommand:
Resources
A stream configuration should only include the base stream component fields (input
, buffer
, pipeline
, output
),
and therefore should NOT include any resources. Instead, define resources separately and import them
using the -r
/--resources
flag:
Walkthrough
Make a directory of stream configs:
Run Wombat in streams mode, pointing to our directory of streams:
On a separate terminal you can query the set of streams loaded:
You can also query a specific stream to see the loaded configuration:
You can then send data to the stream via its namespaced URL:
There are other endpoints in the REST API for creating, updating and deleting streams.