Skip to content

Load config from URL

Compare
Choose a tag to compare
@quii quii released this 17 Jun 16:17

You can now load mockingjay from a URL as well as a file

Still uses the -config argument.

docker run -p 9090:9090 quii/mockingjay-server:1.11.1 -config=https://raw.githubusercontent.com/quii/mockingjay-server/master/examples/regex.yaml

That is a one-liner you can just run if you have docker installed. No need for volume mapping, just point at a URL!

This should make running CDCs from a producers perspective much easier as you no longer have to share config files between systems

mockingjay-server -config=http://my-consumer.com/cdc.yaml -realURL=http://myurl.com

Please use version 1.11.1, this version is broken for config file paths that start with /