Illex
0.0.1
A random JSON generator and server based on Arrow schemas.
|
A tool to generate random JSONs based on Arrow Schemas.
After building:
A Dockerfile is provided to build a Docker image that runs Illex:
Illex requires an Arrow schema to generate JSONs. You can generate the examples in the [examples folder](examples) by running:
There are two subcommands, file
and stream
.
Both subcommand require an Arrow schema to be supplied as the first positional argument, or through -i
or --input
.
More detailed options can be found by running:
or:
After generating the Arrow Schema examples, you could run:
Without supplying an output file with -o
, the output is written to stdout. This results in the following output:
Or using a Docker container:
To start a TCP server streaming out 1048576 JSONs to a client, using 8 threads to generate the JSONs:
Or using a Docker container: